diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index f75113533be2c70..048f7607ed34162 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -54,6 +54,8 @@
/types/adone/ @s0m3on3 @maxveres
/types/aes-js/ @federicobond
/types/aframe/ @devpaul @bertoritger @twastvedt
+/types/ag-channel/ @DanielRose
+/types/ag-simple-broker/ @DanielRose
/types/agenda/ @meirgottlieb @princjef
/types/agent-base/ @Shinigami92
/types/agiledigital__mule-preview/ @NoxHarmonium
@@ -70,6 +72,7 @@
/types/akumina-core/ @akumina @jasonarden @MarshHawk
/types/ale-url-parser/ @msn0
/types/alertify/ @jjeffery
+/types/alex/ @peterblazejewicz
/types/alexa-sdk/ @petebeegle @hoo29 @pascalwhoop @blforce @rk-7 @alexmalcoci
/types/alexa-voice-service/ @dolanmiu
/types/algebra.js/ @CaselIT
@@ -105,6 +108,7 @@
/types/amap-js-api-scale/ @breeze9527
/types/amap-js-api-station-search/ @breeze9527
/types/amap-js-api-tool-bar/ @breeze9527
+/types/amap-js-api-transfer/ @breeze9527
/types/amap-js-sdk/ @agasbzj
/types/amazon-cognito-auth-js/ @scottescue
/types/amazon-connect-streams/ @andyhopp
@@ -117,6 +121,7 @@
/types/amplify/ @joeriks
/types/amplify-deferred/ @joeriks @laurentiustamate94
/types/amplitude-js/ @Asido @danmana @HintikkaKimmo
+/types/amplitude-js/v4/ @Asido @danmana @HintikkaKimmo
/types/amqp/ @seikho @jonnysparkplugs
/types/amqp-connection-manager/ @rogierschouten @tstelzer
/types/amqp-rpc/ @wokim
@@ -126,6 +131,7 @@
/types/angular/ @diegovilar @thorn0 @calebstdenis @leonard-thieu @scipper
/types/angular-agility/ @rolandzwaga
/types/angular-animate/ @michelsalib @adidahiya @rasch @codyschaaf
+/types/angular-aria/ @chivesrs
/types/angular-block-ui/ @lassebn @sclassen @renjfk
/types/angular-bootstrap-calendar/ @Odrin
/types/angular-bootstrap-lightbox/ @rolandzwaga
@@ -154,7 +160,7 @@
/types/angular-jwt/ @rerezz
/types/angular-load/ @david-gang
/types/angular-loading-bar/ @stephenlautier @tyronedougherty
-/types/angular-local-storage/ @kenfdev @dona278
+/types/angular-local-storage/ @kenfdev @dona278 @peterblazejewicz
/types/angular-localforage/ @reppners
/types/angular-locker/ @nkovacic
/types/angular-material/ @blbigelow @PeterHajdu @Dona278 @geertjansen @eknowles @chivesrs
@@ -205,7 +211,7 @@
/types/any-db/ @rogierschouten
/types/any-db-transaction/ @rogierschouten
/types/anymatch/ @BendingBender
-/types/anyproxy/ @SomaticIT
+/types/anyproxy/ @SomaticIT @roland-reed
/types/aos/ @shermendev @matheusgrieger
/types/apex.js/ @y13i
/types/api-error-handler/ @tkrotoff
@@ -223,9 +229,11 @@
/types/appframework/ @kyo-ago
/types/apple-mapkit-js/ @kilghaz @wsmd @chrisdrackett
/types/apple-music-api/ @nchase @useffc
+/types/apple-signin-api/ @voidpumpkin
/types/applepayjs/ @martincostello
/types/appletvjs/ @brainded
/types/applicationinsights-js/ @markwolff @jpiyali @barustum
+/types/apptimize__apptimize-web-sdk/ @innovation-team @rlbaxter
/types/aqb/ @Athenkosi-Mase
/types/arangodb/ @pluma
/types/arbiter/ @arash16
@@ -234,7 +242,7 @@
/types/arcgis-rest-api/ @JeffJacobson
/types/arcgis-to-geojson-utils/ @JeffJacobson
/types/architect/ @greuze
-/types/archiver/ @dolanmiu @crevil
+/types/archiver/ @dolanmiu @crevil @peterblazejewicz
/types/archy/ @vvakame
/types/are-we-there-yet/ @brianloveswords
/types/argon2-browser/ @ivangabriele @mymindstorm
@@ -247,13 +255,14 @@
/types/array-binarysearch.closest/ @hvoecking
/types/array-find-index/ @samverschueren
/types/array-foreach/ @skysteve
+/types/array-initial/ @Richienb
/types/array-sort/ @DanielMSchmidt
/types/array-unique/ @CSLTech
/types/array.from/ @ExE-Boss
-/types/array.prototype.flat/ @kylejlin
-/types/array.prototype.flatmap/ @hallettj
+/types/array.prototype.flat/ @kylejlin @ljharb
+/types/array.prototype.flatmap/ @hallettj @ljharb
/types/artillery/ @kmccoan-allocadia
-/types/asana/ @tkqubo @tasyp
+/types/asana/ @tkqubo @tasyp @filipposarzana
/types/asap/ @fpascutti
/types/ascii-art/ @lukaselmer
/types/ascii2mathml/ @RagibHasin
@@ -262,7 +271,7 @@
/types/asn1/ @jgeurts
/types/asn1js/ @microshine
/types/aspnet-identity-pw/ @jt000
-/types/assert/ @nicoabie @LinusU
+/types/assert/ @nicoabie @LinusU @ExE-Boss
/types/assert-equal-jsx/ @seryl
/types/assert-plus/ @KostyaTretyak
/types/assertsharp/ @brunolm
@@ -272,15 +281,18 @@
/types/async-busboy/ @hirochachacha
/types/async-cache/ @BendingBender
/types/async-eventemitter/ @patarapolw
+/types/async-iterable-stream/ @DanielRose
/types/async-lock/ @elisee @afharo @rhymmor
/types/async-polling/ @Goldsmith42
/types/async-retry/ @albertywu @MeLlamoPablo @rafsawicki
+/types/async-stream-emitter/ @DanielRose
/types/async-stream-generator/ @JakubJirutka
/types/async.nexttick/ @pyrho
/types/asynciterator/ @rubensworks
/types/athenajs/ @warpdesign
/types/atlaskit__button/ @dijimsta
/types/atlaskit__calendar/ @lstanden
+/types/atlaskit__feedback-collector/ @leedrick
/types/atlaskit__inline-edit/ @lstanden
/types/atlaskit__layer/ @lstanden
/types/atlaskit__single-select/ @lstanden
@@ -300,7 +312,7 @@
/types/auth-header/ @ForbesLindesay
/types/auth0/ @westy92 @ianhowe76 @dauledk @dancrumb @pwrnrd @CatGuardian @neshanjo
/types/auth0-angular/ @homesar
-/types/auth0-js/ @adrianchia @mdurrant @peterblazejewicz @bkotrys @marknelissen
+/types/auth0-js/ @adrianchia @mdurrant @peterblazejewicz @bkotrys @marknelissen @tylerlindell
/types/auth0-js/v7/ @advancedrei
/types/auth0-lock/ @carusology @goldcaddy77 @lfaudreejr @willcaul
/types/auth0.widget/ @advancedrei
@@ -309,13 +321,13 @@
/types/auto-sni/ @janwo
/types/autobahn/ @darkl @a904guy @valepu @glenroy37 @spcfran
/types/autocannon/ @jeremyben
-/types/autoprefixer/ @odnamrataizem @murt @slavafomin
+/types/autoprefixer/ @odnamrataizem @murt @slavafomin @peterblazejewicz
/types/autosize/ @kingdango @keika299 @NeekSandhu
/types/autosuggest-highlight/ @senukartur
/types/await-timeout/ @szhu
/types/awesomplete/ @webbiesdk @bmdixon @tbekolay @chrislopresto
/types/aws-iot-device-sdk/ @niik @mlamp
-/types/aws-lambda/ @skarum @tobyhede @buggy @y13i @wwwy3y3 @OrthoDex @MichaelMarner @daniel-cottone @kostya-misura @coderbyheart @palmithor @daniloraisi @simonbuchan @Haydabase @repl-chris @aneilbaboo @jeznag @louislarry @dpapukchiev @ohookins @trevor-leach @jagregory @dalen @loikg @skyzenr @redlickigrzegorz @juancarbonel @pwmcintyre @alex-bolenok-centralreach @marianzange @apepper
+/types/aws-lambda/ @darbio @skarum @StefH @tobyhede @buggy @y13i @wwwy3y3 @OrthoDex @MichaelMarner @daniel-cottone @kostya-misura @coderbyheart @palmithor @daniloraisi @simonbuchan @Haydabase @repl-chris @aneilbaboo @jeznag @louislarry @dpapukchiev @ohookins @trevor-leach @jagregory @dalen @loikg @skyzenr @redlickigrzegorz @juancarbonel @pwmcintyre @alex-bolenok-centralreach @marianzange @apepper
/types/aws-param-store/ @jasonthomasgray @nathanoertel
/types/aws-regions/ @Deadarius
/types/aws-serverless-express/ @threesquared @jcaffey @mattmeye @albertovasquez
@@ -327,6 +339,7 @@
/types/axios-curlirize/ @stevenhankin
/types/axios-token-interceptor/ @innovation-team @mgdodge
/types/axon/ @jewbre
+/types/azdata/ @Charles-Gagnon @anthonydresser @kburtram @kenvanhyning
/types/azure/ @AndrewGaspar @antiveeranna @SomaticIT
/types/azure-kusto-data/ @armanio123
/types/azure-mobile-services-client/ @dmorosinotto
@@ -337,7 +350,7 @@
/types/babel-code-frame/ @mohsen1
/types/babel-core/ @yortus @marvinhagemeister
/types/babel-generator/ @yortus @johnnyestilles
-/types/babel-plugin-macros/ @billykwok
+/types/babel-plugin-macros/ @billykwok @coffee-cup
/types/babel-plugin-react-pug/ @jpap
/types/babel-plugin-syntax-jsx/ @marvinhagemeister
/types/babel-template/ @yortus @marvinhagemeister
@@ -371,7 +384,7 @@
/types/bagpipes/ @micmro
/types/baidu-app/ @taoqf
/types/baidumap-web-sdk/ @ipcjs
-/types/balanced-match/ @adamzerella
+/types/balanced-match/ @adamzerella @peterblazejewicz
/types/bandagedbd__bdapi/ @Acidic9
/types/barbellweights/ @evelijn
/types/barcode/ @pvomhoff
@@ -381,11 +394,12 @@
/types/base64-arraybuffer/ @jbencook
/types/base64-async/ @BendingBender
/types/base64-js/ @pe8ter
+/types/base64-stream/ @s73obrien
/types/base64-url/ @urish
/types/base64topdf/ @lucasriondel
/types/bases/ @harikv
/types/bash-glob/ @mrmlnc
-/types/basic-auth/ @moonpyk @vesse
+/types/basic-auth/ @moonpyk @vesse @nwtgck
/types/basicauth-middleware/ @nchaulet
/types/basiclightbox/ @adrianhopebailie
/types/batch-stream/ @drudge
@@ -396,6 +410,7 @@
/types/bcp-47/ @cjbarth
/types/bcp-47-match/ @cjbarth
/types/bcrypt/ @codeanimal @IOAyman @dstapleton92
+/types/bcrypt-nodejs/ @DavidBR-SW @peterblazejewicz
/types/bcryptjs/ @RafaelKr @branoholy
/types/bdfjs/ @jeremejevs
/types/beanstalkd/ @SomaticIT
@@ -405,7 +420,7 @@
/types/behavior3/ @carrrywu
/types/bell/ @SimonSchick
/types/bencode/ @tobenna
-/types/bent/ @me
+/types/bent/ @Ovyerus
/types/better-curry/ @pocesar
/types/better-queue/ @maozedong
/types/better-scroll/ @stoneChen @cnjack
@@ -420,7 +435,7 @@
/types/bigscreen/ @dduugg
/types/bin-pack/ @orentrutner
/types/binary-parse-stream/ @ffflorian
-/types/binary-parser/ @riggs @dolanmiu @yuhr
+/types/binary-parser/ @riggs @dolanmiu @yuhr @caguiclajmg
/types/binaryextensions/ @BendingBender
/types/bind-ponyfill/ @skysteve
/types/bindings/ @unindented
@@ -435,8 +450,9 @@
/types/bl/ @Bartvds @reconbot
/types/blacklist/ @mhegazy
/types/blake2/ @beaulac
+/types/blazor__javascript-interop/ @peterblazejewicz
/types/blazy/ @julienpa
-/types/blessed/ @brynbellomy @skellock @mamachanko @TooTallNate
+/types/blessed/ @brynbellomy @skellock @mamachanko @TooTallNate @danikaze @jeffhuys
/types/blip-sdk/ @henriquetorquato
/types/blissfuljs/ @fskorzec
/types/blob-stream/ @erichillah
@@ -448,7 +464,7 @@
/types/bloom-filter/ @danwbyrne
/types/bloomfilter/ @slawiko
/types/blue-tape/ @sodatea
-/types/bluebird/ @lhecker @thislooksfun
+/types/bluebird/ @lhecker
/types/bluebird/v2/ @Bartvds @falsandtru
/types/bluebird/v1/ @Bartvds
/types/bluebird-global/ @d-ph
@@ -457,7 +473,7 @@
/types/blueimp-md5/ @rmartone @mkohlmyr
/types/bmp-js/ @rksm
/types/bn.js/ @LogvinovLeon @HenryNguyen5 @Gilthoniel
-/types/body-parser/ @santialbo @vilic @dreampulse @blendsdk @tlaziuk @jwalton
+/types/body-parser/ @santialbo @vilic @dreampulse @blendsdk @tlaziuk @jwalton @peterblazejewicz
/types/body-parser-xml/ @tbounsiar
/types/body-scroll-lock/ @kimcoder
/types/bonjour/ @quentin-ol @octo-sniffle
@@ -471,7 +487,7 @@
/types/bootstrap/v3/ @borisyankov @denisname
/types/bootstrap-3-typeahead/ @AndersonFriaca
/types/bootstrap-colorpicker/ @aleksandar-manukov
-/types/bootstrap-datepicker/ @borisyankov
+/types/bootstrap-datepicker/ @borisyankov @jannikkeye
/types/bootstrap-fileinput/ @CheCoxshall
/types/bootstrap-growl-ifightcrime/ @AndersonFriaca
/types/bootstrap-maxlength/ @danmana
@@ -490,30 +506,34 @@
/types/bootstrap.v3.datetimepicker/v3/ @bayitajesi
/types/bootstrap3-dialog/ @nakupanda @cnboland
/types/bounce.js/ @cherrry
+/types/box-intersect/ @sankaku-deltalab
/types/box2d/ @jbaldwin
/types/bpmn-moddle/ @haydos89
/types/brace-expansion/ @BendingBender
/types/braces/ @vemoo @mrmlnc
/types/brainhubeu__react-carousel/ @jackall3n
-/types/braintree/ @smrubin @sharno @acdr
+/types/braintree/ @smrubin @sharno @acdr @sedenardi
/types/braintree-web/ @chlela
/types/braintree-web-drop-in/ @saoudrizwan
/types/breeze/ @borisyankov
+/types/bresenham/ @Chnapy
/types/bricks.js/ @kondi
/types/bristol/ @eheikes @ElliottCampbellJHA
/types/bristol-sentry/ @ElliottCampbellJHA
/types/bro-fs/ @ffflorian
/types/brorand/ @chrootsu
+/types/brotli-webpack-plugin/ @karol-majewski
/types/browser-bunyan/ @PaulLockwood @kryops
/types/browser-fingerprint/ @LKay
/types/browser-harness/ @scriby
+/types/browser-or-node/ @jussikinnula
/types/browser-pack/ @TeamworkGuy2
/types/browser-report/ @JTOne123
/types/browser-resolve/ @marionebl
/types/browser-sync/ @joeskeen @aznnomness @yuma84
/types/browser-sync-webpack-plugin/ @dsifford
/types/browserify/ @AndrewGaspar @jvilk @leonard-thieu @LinusU
-/types/browserslist/ @davecardwell @AndrewLeedham
+/types/browserslist/ @davecardwell @AndrewLeedham @peterblazejewicz
/types/browserslist-useragent/ @nju33
/types/bs58/ @chrootsu @BendingBender
/types/bs58/v3/ @chrootsu
@@ -528,14 +548,17 @@
/types/buffer-equal/ @Bartvds
/types/buffer-from/ @burnnat
/types/buffer-reader/ @nrlquaker
+/types/buffer-split/ @ciffelia
/types/buffer-xor/ @danwbyrne
/types/bufferhelper/ @VladimirGrenaderov @maxbogus
/types/buffers/ @rhencke
/types/bufferstream/ @Bartvds
/types/build-output-script/ @BendingBender
-/types/bull/ @bgrieder @JProgrammer @marshall007 @weeco @blaugold @iamolegga @koblas @bondz @wuha-team @aleccool213 @danmana @kjellmorten @pc-jedi @lenovouser @hados99 @borys-kupar @remko79
+/types/bull/ @bgrieder @JProgrammer @marshall007 @weeco @blaugold @iamolegga @koblas @bondz @wuha-team @aleccool213 @danmana @kjellmorten @pc-jedi @lenovouser @hados99 @borys-kupar @remko79 @levibostian
/types/bull/v2/ @bgrieder @JProgrammer
/types/bull-arena/ @levibostian
+/types/bull-board/ @kevenleone
+/types/bulma-calendar/ @remcohaszing
/types/bump-regex/ @silkentrance
/types/bunnymq/ @cyrilschumacher
/types/bunyan/ @amikhalev
@@ -568,12 +591,12 @@
/types/calq/ @eirikhm
/types/camelcase-keys-deep/ @englund0110
/types/camo/ @lucasmciruzzi
-/types/camunda-external-task-client-js/ @MacRusher
+/types/camunda-external-task-client-js/ @MacRusher @hados99
/types/cancan/ @Vincent-Pang
/types/caniuse-api/ @davecardwell
/types/caniuse-lite/ @mutech
/types/cannon/ @clark-stevenson @Gelio
-/types/canvas-confetti/ @matracey
+/types/canvas-confetti/ @matracey @joshbatley
/types/canvas-gauges/ @Mikhus
/types/canvasjs/ @brutalimp
/types/canvaskit-wasm/ @ashlanderr
@@ -587,6 +610,7 @@
/types/carbon__pictograms-react/ @metonym
/types/carbon__themes/ @vpicone
/types/carbon__type/ @vpicone
+/types/carbone/ @apatryda
/types/card-validator/ @ChanceM
/types/carlo/ @adierkens
/types/case-sensitive-paths-webpack-plugin/ @r3nya
@@ -606,9 +630,10 @@
/types/ccapture.js/ @samalexander
/types/center-align/ @claasahl
/types/centra/ @twooster
-/types/cesium/ @Zuzon @hnipps @szechyjs @golyalpha @KeyboardSounds @soyarsauce @jrafidi @morgansierrasnyder
+/types/cesium/ @Zuzon @hnipps @szechyjs @golyalpha @KeyboardSounds @soyarsauce @jrafidi @morgansierrasnyder @crocsx
+/types/cfenv/ @jordanadams
/types/cfn-response/ @ivoisbelongtous
-/types/chai/ @jedmao @Bartvds @AGBrown @olivr70 @mwistrand @joshuakgoldberg @shaunluttin @Naktibalda @micksatana @ErikSchierboom @9999years @bparan
+/types/chai/ @jedmao @Bartvds @AGBrown @olivr70 @mwistrand @joshuakgoldberg @shaunluttin @Naktibalda @micksatana @ErikSchierboom @bparan @CXuesong
/types/chai/v2/ @Bartvds @AGBrown
/types/chai-almost/ @kclnn
/types/chai-arrays/ @clementprevot
@@ -627,6 +652,7 @@
/types/chai-roughly/ @swist
/types/chai-spies/ @kuzn-ilya @harm-less @jounisuo
/types/chai-string/ @nmalaguti
+/types/chai-style/ @AviVahl
/types/chai-subset/ @delta62 @AGBrown
/types/chai-uuid/ @harm-less
/types/chai-xml/ @jedigo
@@ -639,8 +665,8 @@
/types/chardet/ @Gebatzens @samhinshaw
/types/charm/ @Xananax
/types/charset/ @cspotcode
-/types/chart.js/ @anuti @FabienLavocat @KentarouTakeda @larrybahr @mernen @josefpaij @danmana @guillaume-ro-fr @archy-bold @braincore @frabnt @alexdor @mahnuh @Conrad777 @adripanico @wertzui @lekoaf @ElianCordoba @indigolain @ricardo-mello @rnicholus @mrjack88 @canoceto
-/types/chartist/ @mtgibbs @psimonski @affilnost @sunnyrjuneja
+/types/chart.js/ @anuti @FabienLavocat @KentarouTakeda @larrybahr @mernen @josefpaij @danmana @guillaume-ro-fr @archy-bold @braincore @frabnt @alexdor @mahnuh @Conrad777 @adripanico @wertzui @lekoaf @ElianCordoba @indigolain @ricardo-mello @rnicholus @mrjack88 @canoceto @nobu222 @Marcoru97
+/types/chartist/ @mtgibbs @psimonski @affilnost @sunnyrjuneja @raudabaugh
/types/chartmogul-node/ @chartmogul
/types/chayns/ @HenningKuehl
/types/check-error/ @Seally
@@ -648,7 +674,7 @@
/types/check-types/ @idchlife
/types/checkstyle-formatter/ @mhegazy
/types/checksum/ @rogierschouten
-/types/cheerio/ @blittle @wmaurer @umarniz @LiJinyao @chennakrishna8 @AzSiAz @nwtgck @9999years
+/types/cheerio/ @blittle @wmaurer @umarniz @LiJinyao @chennakrishna8 @AzSiAz @nwtgck
/types/chess.js/ @JacobFischer
/types/chessboardjs/ @sliverb @davidmpaz
/types/child-process-promise/ @TheDSCPL
@@ -658,7 +684,7 @@
/types/chownr/ @BendingBender
/types/chroma-js/ @invliD @mpacholec
/types/chroma-js/v0/ @invliD
-/types/chrome/ @matthewkimber @otiai10 @couven92 @rreverser @sreimer15 @MatCarlson @ekinsol @tregagnon
+/types/chrome/ @matthewkimber @otiai10 @couven92 @rreverser @sreimer15 @MatCarlson @ekinsol @tregagnon @echoabstract @spasma
/types/chrome-apps/ @niikoo @AdamLay @pine613 @mzsm @RReverser @pyle @matthewkimber @otiai10 @couven92 @rreverser @sreimer15
/types/chromecast-caf-receiver/ @Serabe @craigrbruce @brandonrisell
/types/chromecast-caf-sender/ @samuelmaddock
@@ -677,10 +703,12 @@
/types/ckeditor__ckeditor5-utils/ @denisname
/types/clamp-js/ @Hikariii
/types/clamp-js-main/ @sinziananicolae
+/types/clarinet/ @corno
/types/classnames/ @adidahiya @JKillian @seansfkelley @mradamczyk @marvinhagemeister @joshmccullough @uhyo
/types/cldrjs/ @RamanBut-Husaim @gcastre
/types/clean-css/ @tkrotoff @GolaWaya
/types/clean-css/v3/ @tkrotoff
+/types/clean-git-ref/ @JamieMagee
/types/clean-regexp/ @BendingBender
/types/clear/ @connorjayfitzgerald
/types/clearbladejs-client/ @ClearBlade
@@ -689,7 +717,7 @@
/types/cleave.js/ @clentfort @jasongi-at-sportsbet @sashashakun
/types/cli/ @kayahr
/types/cli-box/ @athasach
-/types/cli-color/ @ChaosinaCan
+/types/cli-color/ @ChaosinaCan @OpportunityLiu
/types/cli-interact/ @ffflorian
/types/cli-progress/ @mhegazy @alvaromartmart
/types/cli-spinner/ @janslow
@@ -717,13 +745,14 @@
/types/clui/ @farzadmf
/types/clusterize.js/ @Pr1st0n
/types/cmd-shim/ @cspotcode
+/types/cnpj/ @migueldevmt
/types/co/ @doniyor2109
/types/co-body/ @geoffreak
/types/co-views/ @devlee @geoffreak
/types/code/ @prashaantt
/types/codeflask/ @holwech
/types/codegen.macro/ @charlee
-/types/codemirror/ @mihailik @nrbernard @Pr1st0n @rileymiller @toddself @ysulyma
+/types/codemirror/ @mihailik @nrbernard @Pr1st0n @rileymiller @toddself @ysulyma @azoson
/types/codependency/ @morphatic
/types/coffeeify/ @tkQubo
/types/coinbase/ @rogierschouten
@@ -739,6 +768,7 @@
/types/color-check/ @ecraig12345
/types/color-convert/ @Airlun
/types/color-diff/ @katsanva
+/types/color-hash/ @JohannesHoppe @ksocha
/types/color-name/ @Ailrun
/types/color-namer/ @in19farkt
/types/color-string/ @BendingBender @danmarshall
@@ -749,6 +779,7 @@
/types/columnify/ @garyking
/types/com.darktalker.cordova.screenshot/ @akarienta
/types/com.wikitude.phonegap.wikitudeplugin/ @zbarbuto
+/types/combinations/ @rafamel
/types/combine-reducers/ @me
/types/combine-source-map/ @TeamworkGuy2
/types/combined-stream/ @felixge @tlaziuk @konpikwastaken
@@ -763,6 +794,7 @@
/types/commangular/ @hiraash
/types/comment-json/ @Jason3S
/types/commercetools__enzyme-extensions/ @screendriver
+/types/commitlint__load/ @martinmcwhorter
/types/common-errors/ @icopp
/types/common-prefix/ @seangenabe
/types/common-tags/ @zuzusik @tzupengwang @BendingBender
@@ -778,7 +810,7 @@
/types/compose-function/ @denis-sokolov
/types/compress.js/ @yurist38
/types/compressible/ @BendingBender
-/types/compression/ @santialbo @rburgt @neilbryson
+/types/compression/ @santialbo @rburgt @neilbryson @peterblazejewicz
/types/compression-webpack-plugin/ @dublicator @rhys-vdw
/types/compute-argmax/ @EricCrosson
/types/compute-quantile/ @mrmlnc
@@ -786,11 +818,14 @@
/types/concat-map/ @claasahl
/types/concat-stream/ @jmarianer
/types/concaveman/ @DenisCarriere
-/types/concurrently/ @Blasz
+/types/concurrently/ @Blasz @peterblazejewicz
+/types/concurrently/v4/ @Blasz
+/types/conditional/ @rzhw
/types/conductor-animate/ @DefinitelyTyped
/types/confidence/ @jppellerin
/types/config/ @RWander @forrestbice @jndonald3 @albertovasquez
/types/config-yaml/ @Arylo
+/types/configs-overload/ @anton-drobot
/types/configstore/ @ArcticLight
/types/configurable/ @jewbre
/types/confit/ @ethanresnick
@@ -804,7 +839,6 @@
/types/connect-history-api-fallback-exclusions/ @tonystonee
/types/connect-livereload/ @SomaticIT
/types/connect-modrewrite/ @tinganho
-/types/connect-mongo/ @Syati @guyellis
/types/connect-mongodb-session/ @NattapongSiri
/types/connect-pg-simple/ @pasieronen
/types/connect-redis/ @xstoudi @sbutler2901 @JipSterk
@@ -817,13 +851,23 @@
/types/console-ui/ @dfreeman
/types/consolidate/ @soywiz @theosherry @nicolashenry @AndrewLeedham
/types/consul/ @chrootsu @vadim-v
+/types/consumable-stream/ @DanielRose
/types/contains-path/ @BendingBender
/types/content-disposition/ @bomret
/types/content-range/ @bricka
/types/content-type/ @horiuchi @BendingBender
/types/contentful-resolve-response/ @antonkarsten
+/types/contentstack/ @domness
/types/contextjs/ @kernhanda
/types/continuation-local-storage/ @rath @heycalmdown @aboveyou00
+/types/contract-proxy-kit/ @cag
+/types/conventional-changelog/ @JasonHK
+/types/conventional-changelog-config-spec/ @JasonHK
+/types/conventional-changelog-core/ @JasonHK
+/types/conventional-changelog-preset-loader/ @JasonHK
+/types/conventional-changelog-writer/ @JasonHK
+/types/conventional-commits-parser/ @JasonHK
+/types/conventional-recommended-bump/ @JasonHK
/types/convert-layout/ @xeningem
/types/convert-source-map/ @AndrewGaspar @mgroenhoff @TeamworkGuy2
/types/convert-string/ @hmajid2301
@@ -870,7 +914,7 @@
/types/couchbase/ @maouida @fluggo
/types/countdown/ @gjuchault @Ionaru
/types/counterpart/ @santiagodoldan
-/types/countries-and-timezones/ @zero51 @pokonski @lukyth
+/types/countries-and-timezones/ @zero51 @pokonski @lukyth @dalen
/types/country-data/ @biltongza
/types/country-list/ @iRoachie @Kimahriman
/types/country-list/v1/ @iRoachie
@@ -891,7 +935,8 @@
/types/credential/ @phuvo
/types/credit-card-type/ @LKay
/types/critters-webpack-plugin/ @JuanJoseGonGi
-/types/cron/ @horiuchi @winup
+/types/cron/ @horiuchi @winup @koooge
+/types/cron-converter/ @DouglasAntunes
/types/croppie/ @connor4312 @dklmuc @sarunint @knuthelgesen
/types/cross-spawn/ @Alorel @ExE-Boss
/types/crossfilter/ @schmuli @iebaker @nordfjord @TijmenW
@@ -912,6 +957,7 @@
/types/css-mediaquery/ @eps1lon
/types/css-modules/ @NeekSandhu
/types/css-modules-loader-core/ @skovy
+/types/css-selector-tokenizer/ @AviVahl
/types/css-to-style/ @bengry
/types/css-tree/ @erik-kallen
/types/cssbeautify/ @rictic
@@ -922,12 +968,13 @@
/types/csv2json/ @dex4er
/types/csvrow/ @codeanimal
/types/csvtojson/ @EricByers @wcarson
-/types/cucumber/ @abraaoalves @jan-molak @isoung @BendingBender @ErikSchierboom @petermorlion @DonJayamanne @davidjgoss
+/types/cucumber/ @abraaoalves @jan-molak @isoung @BendingBender @ErikSchierboom @petermorlion @DonJayamanne @davidjgoss @albertossilva
/types/cucumber/v3/ @abraaoalves @jan-molak @isoung @BendingBender @ErikSchierboom @petermorlion
/types/cucumber/v1/ @abraaoalves @jan-molak @isoung @BendingBender @petermorlion
/types/cuint/ @ltetzlaff
/types/currency-formatter/ @mhegazy @davidmpaz
/types/current-git-branch/ @VladimirGrenaderov @maxbogus
+/types/cuss/ @peterblazejewicz
/types/custom-error-generator/ @thmiceli
/types/custom-functions-runtime/ @OfficeDev @akrantz @Zlatkovsky @mscharlock @davidchesnut
/types/cwd/ @BendingBender
@@ -941,7 +988,7 @@
/types/cypress-axe/ @wKovacs64
/types/cypress-cucumber-preprocessor/ @aleccool213 @falconertc
/types/cypress-image-snapshot/ @Keysox
-/types/cytoscape/ @phreed @wy193777 @ypconstante @janniclas @cerberuser @gsbelarus @peterjferrarotto @spaxe
+/types/cytoscape/ @phreed @wy193777 @ypconstante @janniclas @cerberuser @gsbelarus @peterjferrarotto @spaxe @appleparan
/types/d/ @BendingBender
/types/d20/ @pipboy3000
/types/d3/ @tomwanzek @gustavderdrache @borisyankov @denisname
@@ -978,8 +1025,9 @@
/types/d3-queue/ @tomwanzek @gustavderdrache @borisyankov @denisname
/types/d3-random/ @tomwanzek @gustavderdrache @borisyankov
/types/d3-request/ @Ledragon @gustavderdrache @borisyankov @tomwanzek @denisname
+/types/d3-require/ @kindy
/types/d3-sankey/ @tomwanzek @gustavderdrache
-/types/d3-scale/ @tomwanzek @gustavderdrache @borisyankov @denisname
+/types/d3-scale/ @tomwanzek @gustavderdrache @borisyankov @denisname @rulonder
/types/d3-scale/v1/ @tomwanzek @gustavderdrache @borisyankov
/types/d3-scale-chromatic/ @Ledragon @gustavderdrache @borisyankov @henriquefm
/types/d3-selection/ @tomwanzek @gustavderdrache @borisyankov @denisname
@@ -989,7 +1037,7 @@
/types/d3-time-format/ @tomwanzek @gustavderdrache @borisyankov
/types/d3-timer/ @tomwanzek @gustavderdrache @borisyankov @denisname
/types/d3-tip/ @brspnnggrt
-/types/d3-transition/ @tomwanzek @gustavderdrache @borisyankov
+/types/d3-transition/ @tomwanzek @gustavderdrache @borisyankov @robertmoura
/types/d3-voronoi/ @tomwanzek @gustavderdrache @borisyankov @denisname
/types/d3-zoom/ @tomwanzek @gustavderdrache @borisyankov @denisname
/types/d3.slider/ @lk-chen
@@ -1045,6 +1093,7 @@
/types/decay/ @enaeseth
/types/decode-entities/ @waspothegreat
/types/decode-uri-component/ @BendingBender
+/types/decomment/ @peterblazejewicz
/types/decompress/ @plantain-00 @jbethke
/types/decorum/ @dflor003
/types/dedent/ @douglasduteil
@@ -1060,7 +1109,7 @@
/types/defaults/ @IbtihelCHNAB
/types/defaults-deep/ @Kocal
/types/defer-promise/ @niklasf
-/types/define-properties/ @ExE-Boss
+/types/define-properties/ @ExE-Boss @ljharb
/types/defined/ @BendingBender
/types/deglob/ @saadq
/types/deindent/ @AviVahl
@@ -1100,6 +1149,7 @@
/types/di-lite/ @dcrusader
/types/diacritics/ @otociulis
/types/dialog-polyfill/ @rubenswieringa
+/types/dialogflow-fulfillment/ @nightillusions @slowtick @diegodalbosco @MTRNord
/types/dicer/ @GoupilRobin @BendingBender
/types/didyoumean/ @jamesgeorge007
/types/diff/ @vvakame @szdc @moc-yuto @BendingBender
@@ -1113,6 +1163,7 @@
/types/dir-glob/ @BendingBender
/types/dir-resolve/ @andy-ms
/types/dir-walker-gen/ @aynurin
+/types/direction/ @andrew--r
/types/dirname-regex/ @BendingBender
/types/dirty-chai/ @dex4er
/types/discontinuous-range/ @OiCMudkips
@@ -1128,6 +1179,7 @@
/types/dlv/ @ryansonshine
/types/dnssd/ @angelmerino @Maxr1998
/types/doccookies/ @jonegerton
+/types/docker-events/ @ciffelia
/types/dockerode/ @seikho @nlaplante @isac322 @lazarusx @meisenzahl @thegecko @CameronDiver @p4sca1
/types/docopt/ @giggio
/types/doctrine/ @rictic
@@ -1135,14 +1187,18 @@
/types/documentdb/ @NoelAbrahams @brettferdosi @ctstone @yifanwu
/types/documentdb-server/ @lith-light-g
/types/documentdb-session/ @DanielRosenwasser
+/types/docx-templates/ @mathe42
/types/dogapi/ @olebedev
/types/doge-seed/ @BendingBender
/types/dojo/ @vansimke
/types/dom-clipboard-api/ @43081j
/types/dom-inputevent/ @diagramatics
-/types/dom-mediacapture-record/ @eliasmeire
+/types/dom-matches/ @AviVahl
+/types/dom-mediacapture-record/ @eliasmeire @AppLover69
+/types/dom-parser/ @gbidkar
/types/dom-to-image/ @JipSterk
/types/dom4/ @adidahiya @giladgray
+/types/domexception/ @ExE-Boss
/types/domhandler/ @johandavidson
/types/domo/ @Steve-Fenton
/types/dompurify/ @bazuzi @FlowCrypt @Exigerr
@@ -1159,6 +1215,7 @@
/types/dotdotdot/ @milanjaros
/types/dotenv-flow/ @vincentlanglet @kerimdzhanov
/types/dotenv-flow/v2/ @vincentlanglet @kerimdzhanov
+/types/dotenv-parse-variables/ @garyking
/types/dotenv-safe/ @krenor
/types/dotenv-webpack/ @karol-majewski @davecardwell
/types/dotfile-regex/ @mrmlnc
@@ -1168,6 +1225,7 @@
/types/doubleclick-gpt/ @johngeorgewright @steven-joyce @joeflateau @vanessa-lyn @krishnaglick
/types/download/ @nicojs
/types/downloadjs/ @cwmoo740 @josuedevmark
+/types/downscale/ @Lunrtick
/types/dplayer/ @Guanyunhan
/types/draft-convert/ @MunifTanjim
/types/draft-js/ @dmitryrogozhny @eelco @ghotiphud @schwers @michael-yx-wu @willisplummer @smvilar @sulf @pablopunk @claudiopro @khawkinson @MunifTanjim @benhjames
@@ -1175,8 +1233,10 @@
/types/drag-timetable/ @chinkan
/types/draggabilly/ @jaydubu
/types/dragscroll/ @spkellydev
+/types/dragselect/ @me
/types/dragster/ @zskovacs
-/types/dragula/ @pwelter34 @abruzzihraig
+/types/dragula/ @pwelter34 @abruzzihraig @peterblazejewicz
+/types/dragula/v2/ @pwelter34 @abruzzihraig
/types/driftless/ @dandelany
/types/drivelist/ @WholeMilk
/types/dropbox-chooser/ @quas94
@@ -1186,7 +1246,10 @@
/types/dropzone/v4/ @nvivo @outring @renuo @Hikariii
/types/ds18b20/ @crycode-de
/types/dts-generator/ @mtraynham
+/types/du/ @Richienb
/types/duckduckgo-images-api/ @bartduisters
+/types/duo_web_sdk/ @lhhong
+/types/duosecurity__duo_web/ @lhhong
/types/duplexer2/ @Goldsmith42 @AlphaHydrae
/types/duplexer3/ @BendingBender
/types/duplexify/ @strax @kinwa91
@@ -1236,7 +1299,7 @@
/types/egjs__axes/ @naver
/types/egjs__component/ @naver
/types/ej.web.all/ @syncfusion
-/types/ejs/ @benliddicott @ExE-Boss
+/types/ejs/ @benliddicott @ExE-Boss @peterblazejewicz
/types/ejs-locals/ @jt000
/types/ejson/ @shantanubhadoria
/types/elasticlunr/ @goblindegook
@@ -1244,7 +1307,7 @@
/types/electron-clipboard-extended/ @Jungwoo-An
/types/electron-devtools-installer/ @gamesmaxed @mfatihmar
/types/electron-json-storage/ @stpettersens @nrlquaker @jbw91
-/types/electron-load-devtool/ @prince0203
+/types/electron-load-devtool/ @ciffelia
/types/electron-localshortcut/ @ffflorian
/types/electron-notifications/ @djpereira
/types/electron-notify/ @djpereira
@@ -1268,6 +1331,10 @@
/types/ember/v1/ @jedmao
/types/ember-data/ @dwickern @mike-north @chriskrycho
/types/ember-data/v2/ @dwickern @mike-north @chriskrycho
+/types/ember-data__adapter/ @mike-north @chriskrycho @dfreeman @jamescdavis
+/types/ember-data__model/ @mike-north @chriskrycho @dfreeman @jamescdavis
+/types/ember-data__serializer/ @me @dfreeman @jamescdavis @mike-north
+/types/ember-data__store/ @me @dfreeman @jamescdavis @mike-north
/types/ember-feature-flags/ @tansongyang @mike-north
/types/ember-feature-flags/v3/ @tansongyang @mike-north
/types/ember-mocha/ @dwickern @simonihmig @mike-north
@@ -1290,7 +1357,7 @@
/types/ember__object/ @mike-north
/types/ember__ordered-set/ @chriskrycho
/types/ember__polyfills/ @mike-north
-/types/ember__routing/ @mike-north
+/types/ember__routing/ @mike-north @chriskrycho @dfreeman @jamescdavis
/types/ember__runloop/ @mike-north @scalvert
/types/ember__service/ @mike-north
/types/ember__string/ @mike-north
@@ -1301,13 +1368,13 @@
/types/emissary/ @vvakame
/types/emoji-flags/ @tdukart
/types/emoji-js/ @jasondibenedetto
-/types/emoji-mart/ @Jessidhia @Nicell @elvis-wolcott
+/types/emoji-mart/ @Jessidhia @Nicell @elvis-wolcott @seoyunho
/types/emoji-regex/ @iKBAHT @ifiokjr
/types/emoji-strip/ @garyking
/types/emojione/ @dbrgn @sliker
/types/empower/ @vvakame
/types/empty-dir/ @BendingBender @djcsdy
-/types/emscripten/ @zakki @periklis
+/types/emscripten/ @zakki @periklis @kbumsik
/types/encodeurl/ @BendingBender
/types/encoding-down/ @MeirionHughes @danwbyrne
/types/end-of-stream/ @strax
@@ -1324,10 +1391,10 @@
/types/env-ci/ @BendingBender
/types/env-to-object/ @MugeSo
/types/envify/ @tkQubo
-/types/enzyme/ @MarianPalkus @NoHomey @jwbay @huhuanming @MartynasZilinskas @thovden @hotell @screendriver @mateuszsokola @braidencutforth @erickzhao @jtomaszewski
-/types/enzyme-adapter-react-15/ @tkrotoff
-/types/enzyme-adapter-react-15.4/ @nali
-/types/enzyme-adapter-react-16/ @tkrotoff
+/types/enzyme/ @MarianPalkus @NoHomey @jwbay @huhuanming @MartynasZilinskas @thovden @hotell @screendriver @mateuszsokola @braidencutforth @erickzhao @jtomaszewski @ljharb
+/types/enzyme-adapter-react-15/ @tkrotoff @ljharb
+/types/enzyme-adapter-react-15.4/ @nali @ljharb
+/types/enzyme-adapter-react-16/ @tkrotoff @ljharb
/types/enzyme-async-helpers/ @kimehrenpohl
/types/enzyme-react-intl/ @mateusz-meller
/types/enzyme-redux/ @knegusen
@@ -1338,11 +1405,13 @@
/types/epub/ @julien-c
/types/eq.js/ @stephenlautier
/types/error-subclass/ @fitbit
-/types/errorhandler/ @santialbo
+/types/errorhandler/ @santialbo @peterblazejewicz
/types/es-feature-detection/ @Jack-Works
+/types/es-module-lexer/ @NotWoods
/types/es-to-primitive/ @ExE-Boss @ljharb
/types/es6-collections/ @rbuckton
/types/es6-promisify/ @harryshipton @bschlenk
+/types/es6-set-proptypes/ @zozoens31
/types/es6-shim/ @rbuckton
/types/es6-weak-map/ @pine
/types/esc-pos-encoder/ @dlimkin
@@ -1355,6 +1424,7 @@
/types/eslint-plugin-prettier/ @ikatyang
/types/eslint-scope/ @mysticatea
/types/eslint-visitor-keys/ @mysticatea
+/types/esm/ @Richienb
/types/esprima/ @teppeis @RReverser @peter-scott
/types/esprima/v2/ @teppeis @RReverser
/types/esprima-walk/ @tswaters
@@ -1385,14 +1455,14 @@
/types/events/ @yasupeke @weareoutman
/types/events.once/ @0x326
/types/eventsource/ @scottleedavis @afroozeh @snakedrak @Akuukis
-/types/evernote/ @corps
+/types/evernote/ @corps @fcastilloec
/types/excel-style-dataformatter/ @SanderDeWaal1992
/types/exenv/ @christianchown
/types/exif/ @ffflorian
/types/exit/ @Bartvds
/types/exorcist/ @TeamworkGuy2
/types/expand-tilde/ @carnesen
-/types/expect-puppeteer/ @JoshuaKGoldberg @tkrotoff
+/types/expect-puppeteer/ @JoshuaKGoldberg @tkrotoff @jfm710
/types/expect.js/ @teppeis
/types/expectations/ @vvakame
/types/expired/ @BendingBender
@@ -1401,7 +1471,7 @@
/types/expo-mixpanel-analytics/ @martintreurnicht
/types/expo__status-bar-height/ @dawnmist
/types/expo__vector-icons/ @incleaf @robertying
-/types/express/ @borisyankov @CMUH
+/types/express/ @borisyankov @CMUH @puneetar
/types/express-actuator/ @etruta
/types/express-async-wrap/ @remyoudemans
/types/express-boom/ @Nox-404
@@ -1417,8 +1487,8 @@
/types/express-domain-middleware/ @hookclaw
/types/express-ejs-layouts/ @erikma
/types/express-enforces-ssl/ @kevinstubbs
-/types/express-fileupload/ @Naktibalda @silkimen @vosatom
-/types/express-flash/ @iMobs
+/types/express-fileupload/ @Naktibalda @silkimen @vosatom @peterblazejewicz
+/types/express-flash/ @iMobs @peterblazejewicz
/types/express-flash-2/ @mathsalmi
/types/express-flash-notification/ @Mister4Eyes
/types/express-form-data/ @NomNes
@@ -1433,13 +1503,14 @@
/types/express-mongo-sanitize/ @ericbyers
/types/express-mung/ @cyrilschumacher @levibostian
/types/express-myconnection/ @Cellule
-/types/express-mysql-session/ @Akim95
+/types/express-mysql-session/ @Akim95 @mathe42
/types/express-ntlm/ @forivall
/types/express-oauth-server/ @atd-schubert
/types/express-paginate/ @AmirTugi
/types/express-partials/ @jt000
/types/express-pino-logger/ @iamolegga @tough-griff
-/types/express-rate-limit/ @cyrilschumacher @makepost @jdforsythe
+/types/express-rate-limit/ @cyrilschumacher @makepost @jdforsythe @peterblazejewicz
+/types/express-rate-limit/v3/ @cyrilschumacher @makepost @jdforsythe
/types/express-rate-limit/v2/ @cyrilschumacher @makepost
/types/express-redis-cache/ @ajliv
/types/express-request-id/ @jgeth
@@ -1447,10 +1518,10 @@
/types/express-routemap/ @icopp
/types/express-routes-versioning/ @weffe
/types/express-sanitized/ @cjbarth
-/types/express-serve-static-core/ @borisyankov @19majkel94 @kacepe @micksatana @samijaber @aereal @JoseLion
-/types/express-session/ @horiuchi @jacobbogers @builtinnya @ry7n @fiznool
+/types/express-serve-static-core/ @borisyankov @19majkel94 @kacepe @micksatana @samijaber @aereal @JoseLion @dwrss
+/types/express-session/ @horiuchi @jacobbogers @builtinnya @ry7n @fiznool @peterblazejewicz
/types/express-sitemap-xml/ @ffflorian
-/types/express-slow-down/ @jdforsythe
+/types/express-slow-down/ @jdforsythe @joshhendo
/types/express-socket.io-session/ @AylaJK
/types/express-sslify/ @bengry
/types/express-status-monitor/ @me
@@ -1474,14 +1545,14 @@
/types/eyes/ @brynbellomy
/types/ez-plus/ @AndersonFriaca
/types/f1/ @neolwc
-/types/fabric/ @oklemencic @joewashear007 @mrand01 @NotWoods @bmartinson @RogerioTeixeira @BradleyHill @bmkrol823 @glenngartner @codertx @mike667
+/types/fabric/ @oklemencic @joewashear007 @mrand01 @NotWoods @bmartinson @RogerioTeixeira @BradleyHill @bmkrol823 @glenngartner @codertx @mike667 @nataliemarleny
/types/facebook-instant-games/ @menushka @oyvindjam @nialna
/types/facebook-js-sdk/ @amritk @mahmoudzohdi @fluidsonic @bengry
/types/facebook-locales/ @CvX
/types/facebook-pixel/ @noctishsu @VictorHom
/types/facepaint/ @DogPawHat @antonsamper @timswalling
/types/factory-girl/ @stackbuilders @sestrella @elcuy @OlivierKamers
-/types/faker/ @bensw @basp @Kuniwak @mattbishop
+/types/faker/ @bensw @basp @Kuniwak @mattbishop @testica
/types/faker/v3/ @Kuniwak
/types/falafel/ @delprzemo
/types/falcor/ @Quramy @lukerielley
@@ -1512,7 +1583,6 @@
/types/favico.js/ @drowse314-dev-ymat
/types/favicons/ @mohsen1 @metsawyr @arturovt
/types/favicons-webpack-plugin/ @pmeller
-/types/fb/ @JoshStrobl
/types/fb-watchman/ @whtsky
/types/fbemitter/ @kmxz
/types/feather-icons/ @jineshshah36
@@ -1552,22 +1622,27 @@
/types/fibjs/ @richardo2016
/types/figlet/ @Ailrun
/types/figma/ @rudi-c
+/types/file-entry-cache/ @me
/types/file-exists/ @BendingBender
/types/file-loader/ @g-rath
/types/file-saver/ @cyrilschumacher @DaIgeb @chrismbarr @HitkoDev
+/types/file-size/ @Richienb
/types/filesize-parser/ @garyking
+/types/filing-cabinet/ @peterblazejewicz
/types/fill-pdf/ @westy92
/types/filter-invalid-dom-props/ @icopp
/types/final-form-focus/ @huan086
/types/finalhandler/ @chrootsu @hbomark
/types/finch/ @DavidSichau
/types/find/ @andypyrope
-/types/find-cache-dir/ @BendingBender
+/types/find-cache-dir/ @BendingBender @peterblazejewicz
+/types/find-cache-dir/v2/ @BendingBender
/types/find-down/ @ffflorian
/types/find-package-json/ @BendingBender
/types/find-parent-dir/ @ikatyang
/types/find-project-root/ @ikatyang
/types/find-root/ @Alorel
+/types/find-unused-sass-variables/ @peterblazejewicz
/types/findup-sync/ @Bartvds @ngbrown @BendingBender @kotarella1110
/types/findup-sync/v0/ @Bartvds @ngbrown
/types/fined/ @BendingBender
@@ -1584,7 +1659,7 @@
/types/fixed-data-table/ @pepaar @stephenjelfs
/types/fixed-data-table-2/ @ilivit
/types/flagged-respawn/ @BendingBender
-/types/flat/ @chrootsu
+/types/flat/ @chrootsu @thewizarodofoz
/types/flat-cache/ @kevinpollet
/types/flatbush/ @mfedderly
/types/fleximap/ @DanielRose
@@ -1626,7 +1701,7 @@
/types/force-graph/ @p-kimberley @Strum355
/types/forever-agent/ @yavanosta
/types/forever-monitor/ @shuntksh @wrboyce
-/types/forge-apis/ @Autodesk-Forge
+/types/forge-apis/ @Autodesk-Forge @dukedhx
/types/forge-viewer/ @Autodesk-Forge @alansmithnbs
/types/form-serialize/ @tyler-johnson
/types/form-serializer/ @flqw
@@ -1645,6 +1720,7 @@
/types/fpsmeter/ @alampros
/types/framebus/ @kbukum
/types/franc/ @wlegate
+/types/frappe-gantt/ @samalexander
/types/frctl__fractal/ @pmccloghrylaing
/types/frecency/ @sw-yx
/types/freedom/ @jpevarnek
@@ -1661,7 +1737,7 @@
/types/fs-capacitor/ @mike-marcacci
/types/fs-cson/ @dex4er
/types/fs-ext/ @OguzhanE @ikokostya
-/types/fs-extra/ @alan-agius4 @midknight41 @shiftkey @mees- @jrockwood @sangdth @ffflorian
+/types/fs-extra/ @alan-agius4 @midknight41 @shiftkey @mees- @jrockwood @sangdth @ffflorian @peterblazejewicz
/types/fs-extra/v4/ @alan-agius4 @midknight41 @shiftkey @mees-
/types/fs-extra-promise/ @midknight41 @jasonswearingen @HiromiShikata
/types/fs-extra-promise-es6/ @midknight41 @jasonswearingen @geoffreak @HiromiShikata
@@ -1672,12 +1748,12 @@
/types/fs-readfile-promise/ @mtsg
/types/fscreen/ @joscha @terrymun
/types/ftdomdelegate/ @dotnetnerd
-/types/ftp/ @rogierschouten
+/types/ftp/ @rogierschouten @TooTallNate
/types/ftpd/ @rogierschouten
/types/ftps/ @chrispanag
/types/fullname/ @kayahr
/types/fullpage.js/ @jodiwarren
-/types/function-bind/ @ExE-Boss
+/types/function-bind/ @ExE-Boss @ljharb
/types/fundamental-react/ @Feinbube @milanpro @skvale
/types/fusioncharts/ @rohitkr @shivarajkv
/types/fuzzaldrin/ @mhegazy
@@ -1685,6 +1761,7 @@
/types/fuzzy-search/ @alex-deas @BendingBender
/types/fuzzyset/ @lgrignon @narainsagar
/types/fuzzyset.js/ @lgrignon @narainsagar
+/types/fxjs/ @load28
/types/fxn/ @charrondev
/types/gae.channel.api/ @vvakame
/types/gamedig/ @ivansieder
@@ -1719,7 +1796,7 @@
/types/gapi.client.books/ @Bolisov
/types/gapi.client.calendar/ @Bolisov
/types/gapi.client.civicinfo/ @Bolisov
-/types/gapi.client.classroom/ @Bolisov
+/types/gapi.client.classroom/ @Maxim-Mazurok
/types/gapi.client.cloudbilling/ @Bolisov
/types/gapi.client.cloudbuild/ @Bolisov
/types/gapi.client.clouddebugger/ @Bolisov
@@ -1776,6 +1853,7 @@
/types/gapi.client.pagespeedonline/ @Bolisov
/types/gapi.client.partners/ @Bolisov
/types/gapi.client.people/ @Bolisov
+/types/gapi.client.photoslibrary/ @Maxim-Mazurok
/types/gapi.client.playcustomapp/ @Bolisov
/types/gapi.client.playmoviespartner/ @Bolisov
/types/gapi.client.plus/ @Bolisov
@@ -1807,7 +1885,7 @@
/types/gapi.client.surveys/ @Bolisov
/types/gapi.client.tagmanager/ @Bolisov
/types/gapi.client.taskqueue/ @Bolisov
-/types/gapi.client.tasks/ @Bolisov
+/types/gapi.client.tasks/ @Maxim-Mazurok
/types/gapi.client.testing/ @Bolisov
/types/gapi.client.toolresults/ @Bolisov
/types/gapi.client.translate/ @Bolisov
@@ -1872,12 +1950,15 @@
/types/git/ @vvakame
/types/git-add-remote/ @BendingBender
/types/git-branch/ @rynclark
+/types/git-branch-is/ @peterblazejewicz
/types/git-config/ @stpettersens
/types/git-config-path/ @BendingBender
+/types/git-raw-commits/ @JasonHK
/types/git-repo-name/ @BendingBender
/types/git-rev-sync/ @khoi-fish
/types/git-revision-webpack-plugin/ @andersk
/types/git-root-dir/ @ffflorian
+/types/git-semver-tags/ @JasonHK
/types/git-url-parse/ @ajafff
/types/git-user-email/ @BendingBender
/types/git-user-name/ @BendingBender
@@ -1887,6 +1968,7 @@
/types/github-url-to-object/ @ajafff
/types/github-username-regex/ @BehindTheMath
/types/gl/ @sjx233
+/types/gl-fbo/ @ollien
/types/gl-matrix/ @mattijskneppers @tatchx @nbabanov @auzmartist @surtr-isaz
/types/gl-react/ @jussikinnula
/types/gl-react-dom/ @jussikinnula
@@ -1908,8 +1990,10 @@
/types/glob-stream/ @Bartvds @mrmlnc
/types/glob-to-regexp/ @whatasoda
/types/glob-watcher/ @TeamworkGuy2
+/types/global-agent/ @JamieMagee
/types/global-modules/ @BendingBender
/types/global-modules-path/ @g-rath
+/types/global-npm/ @wsmd
/types/global-paths/ @BendingBender
/types/global-prefix/ @BendingBender
/types/global-tunnel-ng/ @BendingBender
@@ -1924,7 +2008,7 @@
/types/go/ @NorthwoodsSoftware
/types/good-storage/ @wkl007
/types/google-adwords-scripts/ @jafaircl
-/types/google-apps-script/ @motemen @PopGoesTheWza
+/types/google-apps-script/ @PopGoesTheWza
/types/google-apps-script-oauth2/ @dhayab
/types/google-cloud__datastore/ @beaulac @ogawa0071 @ThomasdenH
/types/google-cloud__kms/ @ben-tbotlabs @caiertl
@@ -1937,7 +2021,7 @@
/types/google-libphonenumber/ @leonyu @winfinit
/types/google-map-react/ @honzabrecka
/types/google-maps/ @DeividasBakanas @GiedriusGrabauskas
-/types/google-maps-react/ @gburgett @jpowell
+/types/google-maps-react/ @gburgett @jpowell @PaitoAnderson
/types/google-protobuf/ @marcuslongmuir @kamthamc @abonander
/types/google-translate-api/ @maple3142
/types/google.analytics/ @tyler-murphy
@@ -1948,7 +2032,8 @@
/types/google.script.client-side/ @clomie
/types/google.visualization/ @danludwig @gmoore-sjcorg @danmana @mlcheng @IvanBisultanov @glebm @shrujalshah28 @dckorben
/types/google__maps/ @indrimuska
-/types/googlemaps/ @cgwrench @Silver-Connection @nertzy @xaolas @mrmcnerd @martincostello @svenkreiss @bolatovumar @gauthierm @captain-igloo @demensky @life777 @simonhaenisch @gshigeto
+/types/google__markerclustererplus/ @enanox @mxl
+/types/googlemaps/ @cgwrench @Silver-Connection @nertzy @xaolas @mrmcnerd @martincostello @svenkreiss @bolatovumar @gauthierm @captain-igloo @demensky @life777 @simonhaenisch @gshigeto @Bat-Orshikh
/types/googlemaps.infobubble/ @Dashue
/types/googlepay/ @Fluccioni @Radu-Raicea @fstanis @ozotek @mumpo
/types/got/ @BendingBender @LinusU @ikokostya @stijnvn @wingsbob @ryanwilsonperkin @phawxby @ivywit @Huachao
@@ -1958,6 +2043,7 @@
/types/gradient-string/ @Ailrun
/types/graham_scan/ @hberntsen
/types/gramps__rest-helpers/ @claude
+/types/graphite/ @ctumolosus
/types/graphite-udp/ @EricByers
/types/graphlib-dot/ @DomParfitt
/types/graphql-api-koa/ @mike-marcacci
@@ -1978,18 +2064,18 @@
/types/graphql-upload/ @mike-marcacci
/types/graphviz/ @mhfrantz
/types/grasp/ @agnoster
-/types/gravatar/ @denis-sokolov
+/types/gravatar/ @denis-sokolov @peterblazejewicz
/types/gray-percentage/ @goblindegook
/types/graylog2/ @scalder27
/types/greasemonkey/ @kotas @nikolay-borzov
/types/greasemonkey/v3/ @kotas
-/types/grecaptcha/ @DethAriel @rafaeltavares @RohrerF
+/types/grecaptcha/ @DethAriel @rafaeltavares @RohrerF @vkrol
/types/grecaptcha/v0/ @brentj73
/types/gregorian-calendar/ @cwalv
-/types/gremlin/ @matt-sungwook
+/types/gremlin/ @matt-sungwook @keith1024 @7jpsan
/types/grid-template-parser/ @AviVahl
/types/gridfs-stream/ @liorm
-/types/gridstack/ @PascalSenn @ZoolWay @Sl1MBoy @JohnArcher @adumesny
+/types/group-array/ @Richienb
/types/growing-io/ @Forzoom
/types/grpc-error/ @danwbyrne
/types/grunt/ @jeffmay @basarat
@@ -2104,38 +2190,34 @@
/types/hapi-auth-cookie/ @lenovouser @SimonSchick @Mutmatt
/types/hapi-decorators/ @kenhowardpdx
/types/hapi-pino/ @saboya @todd @BlooJeans
-/types/hapi__accept/ @feinoujc @lenovouser
+/types/hapi-server-session/ @btmorex
+/types/hapi__b64/ @ffflorian
/types/hapi__basic/ @AJamesPhillips @saboya @lenovouser
/types/hapi__bell/ @SimonSchick @lenovouser
-/types/hapi__boom/ @rogatty @AJamesPhillips @jineshshah36 @TimonVS @danielmachado @lenovouser
/types/hapi__catbox/ @jasonswearingen @AJamesPhillips @saboya @lenovouser
+/types/hapi__catbox-memcached/ @btmorex
/types/hapi__catbox-memory/ @SimonSchick @lenovouser
/types/hapi__catbox-redis/ @SimonSchick @lenovouser
-/types/hapi__code/ @prashaantt @lenovouser
/types/hapi__cookie/ @lenovouser @SimonSchick @Mutmatt
/types/hapi__crumb/ @lenovouser @SimonSchick
-/types/hapi__cryptiles/ @awendland @lenovouser
-/types/hapi__glue/ @garfty @lenovouser
+/types/hapi__glue/ @garfty @lenovouser @btmorex
/types/hapi__h2o2/ @jasonswearingen @AJamesPhillips @garthk @lenovouser
/types/hapi__hapi/ @rafaelsouzaf @jhsimms @SimonSchick @saboya @lenovouser
-/types/hapi__hoek/ @prashaantt @lenovouser
+/types/hapi__hawk/ @ffflorian
/types/hapi__inert/ @nycdotnet @AJamesPhillips @lenovouser
-/types/hapi__iron/ @simonschick @rafaelsouzaf @lenovouser
-/types/hapi__joi/ @Bartvds @laurence-myers @cglantschnig @DavidBR-SW @GaelMagnan @ralekna @schfkt @rokoroku @dankraus @wanganjun @rafaelkallis @aconanlai @zaphoyd @thewillg @SimonSchick @afharo @lenovouser @AnandChowdhary @myovchev @RecuencoJones
-/types/hapi__lab/ @prashaantt @lenovouser
+/types/hapi__joi/ @Bartvds @laurence-myers @cglantschnig @DavidBR-SW @GaelMagnan @ralekna @schfkt @rokoroku @dankraus @wanganjun @rafaelkallis @aconanlai @zaphoyd @thewillg @SimonSchick @afharo @lenovouser @AnandChowdhary @myovchev @RecuencoJones @freisenhauer @legraphista @SimchaWood
/types/hapi__mimos/ @AJamesPhillips @lenovouser
/types/hapi__nes/ @NoHomey @saboya @lenovouser
/types/hapi__podium/ @AJamesPhillips @lenovouser
/types/hapi__shot/ @AJamesPhillips @SimonSchick @lenovouser
/types/hapi__sntp/ @lenovouser
-/types/hapi__topo/ @BendingBender @lenovouser
/types/hapi__vision/ @jasonswearingen @AJamesPhillips @lenovouser
-/types/hapi__wreck/ @marcinporebski @saboya @lenovouser @ggoodman
/types/hapi__yar/ @SimonSchick @lenovouser
/types/happypack/ @akashishu777
/types/har-format/ @micmro
/types/hard-source-webpack-plugin/ @woitechen @Yama-Tomo
/types/hark/ @baiyufei
+/types/harmon/ @micronaut
/types/harmony-proxy/ @remojansen
/types/has-ansi/ @BendingBender
/types/hash-file/ @HiromiShikata
@@ -2147,7 +2229,7 @@
/types/hashmap/ @rafalwrzeszcz @outring @dodomorandi
/types/hashring/ @medns
/types/hashtag-regex/ @diogofcunha
-/types/hast-format/ @lukeggchapman
+/types/hast/ @lukeggchapman @rokt33r
/types/hat/ @tup1tsa @myovchev
/types/haversine/ @screendriver @danvk
/types/hbs/ @davidm77
@@ -2162,7 +2244,7 @@
/types/hellosign-embedded/ @xt0rted
/types/helmet/ @cyrilschumacher @EvanHahn @bluehatbrit @chdanielmueller
/types/heredatalens/ @denyo
-/types/heremaps/ @Josh-ES @denyo @fx88 @life777
+/types/heremaps/ @Josh-ES @denyo @fx88 @life777 @DaSchTour
/types/heroku-logger/ @kylevogt @AlejandroMoran
/types/hex-rgba/ @r3nya
/types/hexo/ @kentarouTakeda
@@ -2170,6 +2252,7 @@
/types/hexo-fs/ @segayuu
/types/hexo-log/ @segayuu
/types/hexo-util/ @segayuu
+/types/hh-mm-ss/ @TotomInc
/types/hig__button/ @matthewbryant95
/types/highcharts-ng/ @scatcher
/types/highland/ @Bartvds @hgwood @iwllyu @alvis @notbobthebuilder
@@ -2184,7 +2267,7 @@
/types/history.js/ @borisyankov @gjunge
/types/historykana/ @h-shiratsuki
/types/hjson/ @crunchie84
-/types/hls-parser/ @screendriver
+/types/hls-parser/ @screendriver @cmanou
/types/hls.js/ @jgainfort @brookback @adripanico @beraliv @drax98
/types/hoek/ @prashaantt
/types/hogan.js/ @AndrewLeedham
@@ -2195,13 +2278,14 @@
/types/hookrouter/ @mcaneris
/types/hopscotch/ @pimterry @Aurimas1
/types/host-validation/ @dintopple
-/types/hosted-git-info/ @OiyouYeahYou
+/types/hosted-git-info/ @OiyouYeahYou @Ovyerus
/types/hostile/ @AndrewLeedham
/types/howler/ @xperiments @alien35 @nicholashza @cjurango
/types/hpp/ @kryops
/types/html-entities/ @xstoudi
/types/html-minifier/ @tkrotoff @rikuayanokozy
/types/html-minifier/v1/ @tkrotoff
+/types/html-minifier-terser/ @me
/types/html-parser/ @maxbogus
/types/html-pdf/ @westy92
/types/html-tag-names/ @sandersn
@@ -2227,7 +2311,7 @@
/types/http-context/ @mtraynham
/types/http-errors/ @tkrotoff @BendingBender
/types/http-link-header/ @screendriver @nloomans @lummish
-/types/http-proxy/ @SomaticIT @Raigen @DanielMSchmidt @jabreu610
+/types/http-proxy/ @SomaticIT @Raigen @DanielMSchmidt @jabreu610 @bodinsamuel
/types/http-proxy-agent/ @mrmlnc @steprescott
/types/http-proxy-middleware/ @zebMcCorkle @BendingBender
/types/http-rx/ @L2jLiga
@@ -2236,6 +2320,7 @@
/types/httperr/ @yortus
/types/hubot/ @dirk @KeesCBakker @eeemil
/types/hubspot-pace/ @borislavjivkov
+/types/human-date/ @ricosandyca
/types/human-interval/ @paulmelnikow
/types/humane-js/ @jmvrbanac @stof
/types/humanize-duration/ @RigoTheDev
@@ -2255,7 +2340,7 @@
/types/i18next-ko/ @dwaxweiler
/types/i18next-node-fs-backend/ @cyrilschumacher @lenovouser
/types/i18next-sprintf-postprocessor/ @cyrilschumacher
-/types/i2c-bus/ @101100
+/types/i2c-bus/ @101100 @kou029w
/types/iab-vpaid/ @dippi
/types/iarna__toml/ @ajafff
/types/iban/ @cyrilschumacher
@@ -2303,7 +2388,7 @@
/types/imsi-grok/ @deanpienaar
/types/imul/ @djcsdy
/types/imurmurhash/ @Jimexist
-/types/in-app-purchase/ @l-jonas @IchordeDionysos @Baskerville42
+/types/in-app-purchase/ @l-jonas @IchordeDionysos @Baskerville42 @kikuchy
/types/inboxsdk/ @rdoursenaud @amiram @Antoine38660
/types/incremental-dom/ @basarat @lanthaler @vvakame
/types/indefinite/ @omaishar
@@ -2341,7 +2426,7 @@
/types/intercom-web/ @fongandrew @salbahra @onatm @bingo4508
/types/intercomjs/ @spencerwi
/types/interface-datastore/ @me
-/types/internal-slot/ @ExE-Boss
+/types/internal-slot/ @ExE-Boss @ljharb
/types/interpret/ @BendingBender
/types/intersects/ @voxylu
/types/intersperse/ @garyking
@@ -2356,12 +2441,13 @@
/types/ion-rangeslider/ @Karel-van-de-Plassche @JamesJGoodwin
/types/ion-rangeslider/v1/ @dduugg @Karel-van-de-Plassche
/types/iopipe__iopipe/ @javonharper
-/types/ioredis/ @plantain-00 @chrisleck @aliarham11 @br8h @shaharmor @palindrom615 @reconbot @funthing @iamolegga @tingwai-to @pettyalex @SimonSchick
+/types/ioredis/ @plantain-00 @chrisleck @aliarham11 @br8h @shaharmor @palindrom615 @reconbot @funthing @iamolegga @tingwai-to @pettyalex @SimonSchick @tianlinle @demian85
/types/ioredis/v3/ @plantain-00 @chrisleck @aliarham11 @br8h @shaharmor @palindrom615 @reconbot @pettyalex
/types/iost-contract/ @monaka
/types/iota.lib.js/ @fogsh
/types/ip/ @codeanimal @BendingBender
/types/ip-address/ @icopp @danwbyrne
+/types/ip-subnet-calculator/ @dahool
/types/ipcheck/ @bengry
/types/irc/ @phillips1012
/types/iri/ @BendingBender
@@ -2376,13 +2462,16 @@
/types/is-charging/ @BendingBender
/types/is-ci/ @atd-schubert @ffflorian
/types/is-color/ @VitorLuizC
-/types/is-date-object/ @adamzerella
+/types/is-date-object/ @adamzerella @ljharb
/types/is-dotdir/ @BendingBender
/types/is-dotfile/ @BendingBender
/types/is-empty/ @termosa
+/types/is-empty-object/ @Richienb
/types/is-even/ @shawnkoon
/types/is-finite/ @mhegazy
/types/is-function/ @evangeloszotos
+/types/is-generator/ @Richienb
+/types/is-generator-function/ @Richienb @ljharb
/types/is-git-url/ @BendingBender
/types/is-glob/ @mrmlnc
/types/is-hotkey/ @petester42 @kalley
@@ -2392,11 +2481,12 @@
/types/is-negated-glob/ @ajafff
/types/is-number/ @harryshipton @jedster1111
/types/is-number-like/ @ffflorian
-/types/is-object/ @wbhob
+/types/is-object/ @wbhob @ljharb
/types/is-odd/ @adamzerella
/types/is-progressive/ @BendingBender
/types/is-promise/ @DanielRosenwasser
/types/is-relative/ @BendingBender
+/types/is-relative-path/ @peterblazejewicz
/types/is-running/ @danwbyrne
/types/is-ssh/ @ffflorian
/types/is-touch-device/ @screendriver
@@ -2413,7 +2503,7 @@
/types/isbn-utils/ @elhaard
/types/iscroll/ @csrakowski @devlato
/types/isexe/ @BendingBender
-/types/iso-3166-2/ @sicilica
+/types/iso-3166-2/ @sicilica @forivall
/types/iso8601-localizer/ @avielfedida
/types/isomorphic-fetch/ @toddlucas
/types/isomorphic-form-data/ @VladimirGrenaderov @maxbogus
@@ -2424,7 +2514,7 @@
/types/istanbul-lib-coverage/ @jason0x43 @loryman
/types/istanbul-lib-hook/ @jason0x43
/types/istanbul-lib-instrument/ @jason0x43
-/types/istanbul-lib-report/ @jason0x43
+/types/istanbul-lib-report/ @jason0x43 @zache
/types/istanbul-lib-source-maps/ @jason0x43
/types/istanbul-middleware/ @hookclaw
/types/istanbul-reports/ @jason0x43
@@ -2437,8 +2527,9 @@
/types/jade/ @panuhorsmalahti
/types/jaeger-client/ @jgeth @tsachis
/types/jalaali-js/ @alitaheri
+/types/japan-postal-code/ @TokugawaTakesi
/types/japanese-holidays/ @syamatoo
-/types/jasmine/ @borisyankov @theodorejb @davidparsson @gmoothart @lukas-zech-software @Engineer2B @cyungmann @Roaders @devoto13 @fdim @kolodny @stephenfarrar @ndunks @zvirja @djungowski
+/types/jasmine/ @borisyankov @theodorejb @davidparsson @gmoothart @lukas-zech-software @Engineer2B @cyungmann @Roaders @devoto13 @fdim @kolodny @stephenfarrar @zvirja @djungowski @chivesrs
/types/jasmine/v2/ @borisyankov @theodorejb @davidparsson @gmoothart @lukas-zech-software @Engineer2B @cyungmann @devoto13 @fdim
/types/jasmine/v1/ @borisyankov
/types/jasmine-ajax/ @lgrignon @jgonggrijp
@@ -2459,7 +2550,7 @@
/types/javascript-astar/ @ptlis @lazerwalker
/types/javascript-bignum/ @sandersn
/types/javascript-state-machine/ @borisyankov @mdocter @MrBigDog2U @samael65535 @taoqf
-/types/javascript-time-ago/ @erikburt @HenryNguyen5
+/types/javascript-time-ago/ @erikburt @HenryNguyen5 @zaguiini
/types/jbinary/ @tbureck
/types/jcanvas/ @rogierschouten
/types/jdataview/ @RReverser
@@ -2467,19 +2558,16 @@
/types/jest/v16/ @NoHomey @jwbay @ExE-Boss
/types/jest-axe/ @JoshuaKGoldberg @erbridge
/types/jest-dev-server/ @ifiokjr
-/types/jest-docblock/ @ikatyang
/types/jest-environment-puppeteer/ @joshuakgoldberg @ifiokjr @favna
/types/jest-expect-message/ @mike-d-davydov
/types/jest-image-snapshot/ @dawnmist @erbridge
/types/jest-in-case/ @geovanisouza92
/types/jest-json-schema/ @deadNightTiger @lvl99
/types/jest-matcher-one-of/ @joemitchard
-/types/jest-matcher-utils/ @myabc
-/types/jest-matchers/ @joscha
/types/jest-plugin-context/ @jonasheinrich
/types/jest-plugin-set/ @jonasheinrich
+/types/jest-sinon/ @seidelmartin
/types/jest-specific-snapshot/ @dawnmist
-/types/jest-validate/ @ikatyang
/types/jest-when/ @aldentaylor @immanuel192 @gstamac @sehsyha
/types/jexl/ @m-tomczyk
/types/jfs/ @tlaziuk
@@ -2513,6 +2601,7 @@
/types/jquery-countdown/ @AndersonFriaca
/types/jquery-countto/ @AndersonFriaca
/types/jquery-cropbox/ @PerKastman
+/types/jquery-deferred/ @TekuConcept
/types/jquery-deparam/ @patsissons
/types/jquery-drawer/ @pine
/types/jquery-easy-loading/ @delphinus35
@@ -2532,11 +2621,13 @@
/types/jquery-mask-plugin/ @avidenic @AndersonFriaca
/types/jquery-maskmoney/ @AndersonFriaca
/types/jquery-match-height/ @kbytesys
+/types/jquery-migrate/ @peterblazejewicz
/types/jquery-mockjax/ @laszlojakab @vladeck @hasaki
/types/jquery-mouse-exit/ @AndersonFriaca
/types/jquery-mousewheel/ @xt0rted
/types/jquery-next-id/ @AndersonFriaca
/types/jquery-param/ @patsissons
+/types/jquery-slimscroll/ @Promact
/types/jquery-slugify/ @AndersonFriaca
/types/jquery-sortable/ @Seltzer
/types/jquery-steps/ @jblank @nickwph
@@ -2599,7 +2690,6 @@
/types/jquery.simplemodal/ @ForNeVeR
/types/jquery.simplepagination/ @nvivo
/types/jquery.simulate/ @derekcicerone
-/types/jquery.slimscroll/ @Promact
/types/jquery.soap/ @tigerxy
/types/jquery.sortelements/ @tbureck
/types/jquery.stickem/ @davidmpaz
@@ -2642,15 +2732,16 @@
/types/js-string-escape/ @viralpickaxe
/types/js-to-java/ @skyitachi
/types/js-url/ @pine
-/types/js-yaml/ @Bartvds @sclausen
+/types/js-yaml/ @Bartvds @sclausen @ExE-Boss
/types/js.spec/ @mattbishop
/types/jsbn/ @Evgenus @al2xed
/types/jschannel/ @yitzchok @McFlat
/types/jscodeshift/ @brieb @bjacobel
/types/jscrollpane/ @qcz
/types/jsdeferred/ @minodisk
-/types/jsdoc-to-markdown/ @adamzerella
-/types/jsdom/ @leonard-thieu @palmfjord
+/types/jsdoc-to-markdown/ @adamzerella @peterblazejewicz
+/types/jsdoc-to-markdown/v4/ @adamzerella
+/types/jsdom/ @leonard-thieu @palmfjord @ExE-Boss
/types/jsdom-global/ @VladimirGrenaderov @maxbogus
/types/jsen/ @vladeck
/types/jsend/ @CaselIT
@@ -2664,8 +2755,8 @@
/types/jsmockito/ @shiver-me-timbers
/types/jsnox/ @stkb @DovydasNavickas
/types/json-buffer/ @phawxby
-/types/json-file-plus/ @danwbyrne
-/types/json-form-data/ @superhawk610
+/types/json-file-plus/ @danwbyrne @ljharb
+/types/json-form-data/ @superhawk610 @ksocha
/types/json-js/ @NN---
/types/json-merge-patch/ @senyaarseniy
/types/json-parse-better-errors/ @DanielRosenwasser
@@ -2678,6 +2769,7 @@
/types/json-schema/ @bcherny @cyrilletuzi @lucianbuzzo @rolandjitsu
/types/json-schema-compare/ @forivall
/types/json-schema-merge-allof/ @forivall
+/types/json-schema-traverse/ @peterblazejewicz
/types/json-server/ @jeremyben
/types/json-socket/ @svi3c
/types/json-stable-stringify/ @mhfrantz
@@ -2689,6 +2781,7 @@
/types/json2mq/ @ZhangYiJiang
/types/json3/ @NN---
/types/json5/ @Esemesek
+/types/json8-patch/ @peterkooijmans
/types/json_ml/ @pluma
/types/jsonabc/ @ffflorian
/types/jsonapi-serializer/ @chiangf
@@ -2709,7 +2802,7 @@
/types/jsonrpc-serializer/ @Akim95 @many20
/types/jsonstream/ @Bartvds
/types/jsontoxml/ @benstevens48
-/types/jsonwebtoken/ @SomaticIT @danielheim @brikou @vpk @rlgod @kettil @RunAge
+/types/jsonwebtoken/ @SomaticIT @danielheim @brikou @vpk @rlgod @kettil @RunAge @nflaig @LinusU @ivansieder
/types/jsonwebtoken-promisified/ @SomaticIT @danielheim @brikou @aneilbaboo
/types/jspath/ @dex4er
/types/jspdf/ @amberjs @lleios @jemerald @frankbrullo @leonmontealegre
@@ -2738,7 +2831,7 @@
/types/jsuri/ @coldacid @flqw
/types/jsurl/ @agorshkov23
/types/jsx-chai/ @nupplaphil
-/types/jszip/ @mzeiher @forabi
+/types/jszip/ @mzeiher @forabi @ffflorian
/types/jug/ @yevt
/types/jui/ @easylogic
/types/jui-core/ @easylogic
@@ -2746,8 +2839,10 @@
/types/just-clone/ @ConnectivityChris
/types/just-debounce-it/ @azizhk
/types/just-extend/ @pe8ter
+/types/just-map-values/ @wa4-fearless-otter
/types/just-pick/ @pe8ter
/types/just-safe-get/ @chardos
+/types/just-safe-set/ @wa4-fearless-otter
/types/just-snake-case/ @michaelwittwer
/types/just-throttle/ @papermana
/types/jweixin/ @taoqf @gomydodo
@@ -2764,17 +2859,35 @@
/types/k6/ @MajorBreakfast @bookmoons @na--
/types/kafka-node-avro/ @alfamegaxq
/types/kamailio-kemi/ @bonan
-/types/karma/ @tkrotoff @43081j @devoto13
+/types/kap-plugin/ @connor4312
+/types/karma/ @tkrotoff @43081j @devoto13 @peterblazejewicz
+/types/karma/v3/ @tkrotoff @43081j @devoto13 @peterblazejewicz
/types/karma/v1/ @tkrotoff @43081j
+/types/karma-browserify/ @peterblazejewicz
+/types/karma-browserstack-launcher/ @peterblazejewicz
/types/karma-chai/ @JayAndCatchFire
/types/karma-chai-sinon/ @vasek17
-/types/karma-coverage/ @tkrotoff @devoto13
+/types/karma-chrome-launcher/ @peterblazejewicz
+/types/karma-coverage/ @tkrotoff @devoto13 @peterblazejewicz
/types/karma-coverage-istanbul-reporter/ @demensky
+/types/karma-detect-browsers/ @peterblazejewicz
+/types/karma-env-preprocessor/ @peterblazejewicz
+/types/karma-firefox-launcher/ @peterblazejewicz
/types/karma-fixture/ @evictor @afshawnlotfi
-/types/karma-jasmine/ @michelsalib
+/types/karma-ie-launcher/ @peterblazejewicz
+/types/karma-jasmine/ @michelsalib @peterblazejewicz
+/types/karma-jasmine-html-reporter/ @peterblazejewicz
+/types/karma-json-preprocessor/ @peterblazejewicz
+/types/karma-json-to-file-reporter/ @peterblazejewicz
+/types/karma-junit-reporter/ @peterblazejewicz
+/types/karma-mocha/ @peterblazejewicz
+/types/karma-mocha-reporter/ @peterblazejewicz
+/types/karma-remap-coverage/ @peterblazejewicz
+/types/karma-spec-reporter/ @peterblazejewicz
/types/karma-webpack/ @mtraynham
/types/katex/ @mrand01 @knguyen0125 @dreamerblue @s-weigand @sapphi-red
/types/kcors/ @Xstoudi @izayoiko
+/types/kd-tree-javascript/ @coopeyb
/types/kdbush/ @DenisCarriere @chrfrasco @deminoth
/types/kdbush/v1/ @DenisCarriere @chrfrasco
/types/kdbxweb/ @Roang-zero1
@@ -2783,7 +2896,7 @@
/types/kendo-ui/ @telerik
/types/kerberos/ @velezsarain
/types/keyboardjs/ @vbortone @piranha771 @teoxoy
-/types/keycloak-connect/ @gstamac
+/types/keycloak-connect/ @gstamac @SackSlab
/types/keygrip/ @jkeylu
/types/keymaster/ @nitram509
/types/keymirror/ @jfahrenkrug
@@ -2821,9 +2934,10 @@
/types/klaw/v1/ @mceachen
/types/klaw-sync/ @shiftkey
/types/kms-json/ @sunnyone
+/types/knex-db-manager/ @dimonnwc3
/types/knex-postgis/ @vesse
/types/knockback/ @borisyankov
-/types/knockout/ @borisyankov @Igorbek @moonpyk @EnableSoftware @BenjaminEckardt @ffMathy @ltlombardi @Retsam
+/types/knockout/ @borisyankov @Igorbek @moonpyk @EnableSoftware @BenjaminEckardt @ffMathy @ltlombardi @Retsam @ReyPena
/types/knockout-amd-helpers/ @DavidSichau
/types/knockout-secure-binding/ @pine613
/types/knockout-transformations/ @johnnyreilly @Nemo157
@@ -2852,6 +2966,7 @@
/types/koa-compress/ @hellopao
/types/koa-conditional-get/ @wingsbob
/types/koa-convert/ @danwbyrne
+/types/koa-cookie/ @dancon
/types/koa-cors/ @romain-faust
/types/koa-csrf/ @haskaalo
/types/koa-dec-router/ @aarystan
@@ -2881,7 +2996,7 @@
/types/koa-proxy/ @ishen7
/types/koa-qs/ @RemyJeancolas
/types/koa-range/ @strax
-/types/koa-ratelimit/ @OutdatedVersion
+/types/koa-ratelimit/ @OutdatedVersion @dislick
/types/koa-ratelimit-lru/ @danwbyrne
/types/koa-redis/ @nsimmons @alsoscotland
/types/koa-redis-cache/ @dimamukhin
@@ -2914,6 +3029,7 @@
/types/kss/ @giladgray
/types/kue/ @drudge @amiram @pc-jedi @deerawan
/types/kue-ui-client/ @bengry
+/types/kurento-client/ @jhdevuk
/types/kurento-utils/ @nenadalm @riggs
/types/kuromoji/ @mzsm @kgtkr
/types/kythe/ @ayazhafiz
@@ -2921,6 +3037,7 @@
/types/labeled-stream-splicer/ @yoursunny
/types/lambda-log/ @armonge
/types/lambda-tester/ @ivank @HajoAhoMantila @msuntharesan
+/types/lambda-wrapper/ @Gaelan
/types/lang.js/ @LiquidPL
/types/langmap/ @grabofus
/types/lasso/ @darkwebdev
@@ -2929,6 +3046,7 @@
/types/latlon-geohash/ @rimig
/types/launchpad/ @rictic
/types/layzr.js/ @shermendev
+/types/lazy-brush/ @ksocha
/types/lazy-property/ @jank1310
/types/lazy.js/ @Bartvds @miso440 @gablorquet @fan-tom
/types/lazypipe/ @tomc974
@@ -2979,6 +3097,7 @@
/types/ledgerhq__hw-transport-u2f/ @danwbyrne
/types/ledgerhq__hw-transport-webusb/ @questofiranon
/types/legal-eagle/ @j-f1
+/types/lerna-alias/ @ecraig12345
/types/lerna-get-packages/ @LogvinovLeon
/types/less/ @thasner @pranaygp @dwaxweiler @chigix
/types/less-middleware/ @federicobond
@@ -3007,7 +3126,7 @@
/types/liftoff/ @BendingBender
/types/light-sdk/ @cklwblove
/types/lightpick/ @akwiatek
-/types/lightship/ @purmac
+/types/lightship/ @purmac @karoun
/types/lil-uri/ @wcarson
/types/lil-uuid/ @Pr1st0n
/types/lime-js/ @arthur-xavier
@@ -3039,11 +3158,11 @@
/types/local-storage/ @tup1tsa
/types/localized-countries/ @coderslagoon
/types/localizejs-library/ @salbahra
-/types/localtunnel/ @vladhrapov
+/types/localtunnel/ @vladhrapov @noamalffasy
/types/lockfile/ @Bartvds @BendingBender
/types/lockfile/v0/ @Bartvds
/types/lockr/ @droritos
-/types/locks/ @flippynips
+/types/locks/ @flippynips @alexey-detr
/types/locutus/ @hookclaw
/types/lodash/ @bczengel @chrootsu @stepancar @aj-r @e-cloud @thorn0 @jtmthf @DomiR @WilliamChelman
/types/lodash/v3/ @bczengel @chrootsu
@@ -3394,7 +3513,7 @@
/types/mangopay2-nodejs-sdk/ @ifiokjr
/types/map-to-obj/ @JasonHK
/types/mapbox/ @anahkiasen @Fluccioni
-/types/mapbox-gl/ @dobrud @patrickr @macobo @dmytro-gokun @LiamAttClarke @life777
+/types/mapbox-gl/ @dobrud @patrickr @macobo @dmytro-gokun @LiamAttClarke @life777 @mklopets
/types/mapbox-gl-leaflet/ @agorshkov23
/types/mapbox__geo-viewport/ @fnberta
/types/mapbox__geojson-area/ @n0nick
@@ -3412,13 +3531,14 @@
/types/markdown-it-anchor/ @seryl
/types/markdown-it-container/ @hronex
/types/markdown-it-lazy-headers/ @knom
+/types/markdown-magic/ @peterblazejewicz
/types/markdown-pdf/ @MonsieurMan
-/types/markdown-to-jsx/ @ecraig12345
+/types/markdown-table/ @cherryblossom000
+/types/markdown-to-jsx/ @ecraig12345 @sunknudsen
/types/markdownlint/ @ark120202
-/types/marked/ @worr @BendingBender @CrossR @mwickett @htkzhtm
+/types/marked/ @worr @BendingBender @CrossR @mwickett @htkzhtm @ezracelli
/types/marked-terminal/ @bkendall
/types/marker-animate-unobtrusive/ @viskin
-/types/markerclustererplus/ @enanox @mxl
/types/markitup/ @drillbits
/types/marko/ @darkwebdev
/types/maskedinput/ @lokeshpeta
@@ -3461,12 +3581,15 @@
/types/material__top-app-bar/ @BrentDouglas @ckosti
/types/materialize-css/ @huww98 @MaximBalaganskiy @MonizDave @broccoliarchy @SnowyLeopard
/types/materialize-css/v0/ @eriklieben @leonyu @SinghSukhdeep @jfcere @scote @LiadIdan
+/types/math-random/ @Richienb
/types/math-sign/ @djcsdy
/types/math-trunc/ @djcsdy
/types/math3d/ @laszlojakab @jimsmart
/types/mathjax/ @rolandzwaga
/types/mathjs/ @siavol @andnp @bradbesserman @pawkrol @charlee
-/types/matter-js/ @piranha771 @hasparus @dwhinham
+/types/matrix-appservice-bridge/ @huan
+/types/matrix-js-sdk/ @huan
+/types/matter-js/ @piranha771 @hasparus @dwhinham @slikts
/types/mcrypt/ @pluma
/types/mcustomscrollbar/ @flurg
/types/md5/ @arcdev1 @jprogrammer
@@ -3474,6 +3597,7 @@
/types/mdast/ @lujun2
/types/mdns/ @reppners
/types/mdurl/ @rokt33r
+/types/mdx-js__react/ @ifiokjr
/types/media-typer/ @BendingBender
/types/medium-editor/ @keika299 @pascaliske
/types/megajs/ @danwbyrne
@@ -3493,6 +3617,7 @@
/types/merge-descriptors/ @danny8002
/types/merge-env/ @BendingBender
/types/merge-images/ @BendingBender
+/types/merge-objects/ @Richienb
/types/merge-stream/ @k-kagurazaka @tomxtobin @daniel-zazula @djcsdy
/types/merge2/ @tkrotoff @smac89
/types/mergerino/ @fivitti
@@ -3503,7 +3628,7 @@
/types/mess/ @Nemo157
/types/messenger/ @derekcicerone
/types/metalsmith/ @brian-lagerman
-/types/meteor/ @barbatus @fullflavedave @orefalo @dagatsoin @birkskyum @ardatan @stefanholzapfel @andrei-markeev @lmachens @gunn @alesn @perbergland @nicu-chiciuc
+/types/meteor/ @barbatus @fullflavedave @orefalo @dagatsoin @birkskyum @ardatan @stefanholzapfel @andrei-markeev @lmachens @gunn @alesn @perbergland @nicu-chiciuc @ebroder
/types/meteor-accounts-phone/ @DAB0mB
/types/meteor-astronomy/ @Deadly0
/types/meteor-collection-hooks/ @twastvedt
@@ -3512,10 +3637,11 @@
/types/meteor-prime8consulting-oauth2/ @vangorra
/types/meteor-publish-composite/ @vangorra @mrz5018
/types/meteor-roles/ @vangorra @mattmm3d
-/types/meteor-universe-i18n/ @mathewmeconry
+/types/meteor-universe-i18n/ @mathewmeconry @radekmie
/types/method-override/ @santialbo
/types/methods/ @cprecioso
/types/metric-suffix/ @davidm77
+/types/meyda/ @eramdam @hughrawlinson
/types/mfiles/ @avonwyss
/types/micro/ @kaoDev
/types/micro-cors/ @CallumDenby
@@ -3532,6 +3658,7 @@
/types/microsoft__typescript-etw/ @mrcrane @amcasey @minestarks
/types/microsoftteams/ @WrathOfZombies @jayongg @ydogandjiev
/types/microtime/ @vincekovacs
+/types/migrate-mongo/ @amitbeck
/types/milkcocoa/ @odangosan
/types/millisecond/ @xeoneux
/types/mime/ @jedigo @dhritzkiv
@@ -3542,7 +3669,8 @@
/types/min-indent/ @BendingBender
/types/mina/ @lhk @mattanja @kant2002
/types/minapp-env/ @chobits4
-/types/mini-css-extract-plugin/ @JounQin @dobogo @skovy
+/types/mini-css-extract-plugin/ @JounQin @dobogo @skovy @peterblazejewicz
+/types/mini-html-webpack-plugin/ @peterblazejewicz
/types/minimal-bit-array/ @jeremejevs
/types/minimal-request-promise/ @stojanovic
/types/minimalistic-assert/ @yoursunny
@@ -3560,19 +3688,19 @@
/types/mixpanel/ @hjellek @Manduro
/types/mixpanel-browser/ @karlos1337 @RicardoRodrigues
/types/mixto/ @vvakame
-/types/mjml/ @aahoughton @marpstar
+/types/mjml/ @aahoughton @marpstar @eiskalteschatten
/types/mjml-react/ @henrinormak
/types/mkcert/ @asachin96
/types/mkdirp/ @Bartvds @mrmlnc
-/types/mkdirp-promise/ @pluma
/types/mkpath/ @optical
/types/ml-levenberg-marquardt/ @m93a
/types/mobx-apollo/ @pselden
/types/mocha/ @kazimanzurrashid @otiai10 @jt000 @enlight @cspotcode @1999
-/types/mocha-each/ @magnostherobot
+/types/mocha-each/ @magnostherobot @nmay231
/types/mocha-phantomjs/ @ErikSchierboom
/types/mocha-prepare/ @idono87
/types/mocha-steps/ @Arylo @dex4er
+/types/mocha-sugar-free/ @ExE-Boss
/types/mochaccino/ @thomas-p
/types/mock-aws-s3/ @bluehatbrit
/types/mock-fs/ @Nemo157 @tkqubo @Seally
@@ -3601,15 +3729,17 @@
/types/moment-timezone/ @michelsalib @alanblins @asermax @borys-kupar
/types/money-math/ @taoqf
/types/mongo-sanitize/ @CedricCazin @penumbra1
-/types/mongodb/ @CaselIT @alanmarcell @bitjson @dante-101 @mcortesi @EnricoPicci @AJCStriker @julien-c @daprahamian @denys-bushulyak @BastienAr @sindbach @geraldinelemeur @jishi @various89 @angela-1 @lirbank @hector7 @floric @erikc5000 @Manc @jloveridge @ranguna @HosseinAgha @albertossilva @Rauno56
+/types/mongodb/ @CaselIT @alanmarcell @bitjson @dante-101 @mcortesi @EnricoPicci @AJCStriker @julien-c @daprahamian @denys-bushulyak @BastienAr @sindbach @geraldinelemeur @jishi @various89 @angela-1 @lirbank @hector7 @floric @erikc5000 @Manc @jloveridge @ranguna @HosseinAgha @albertossilva @Rauno56 @peterblazejewicz @LinusU
/types/mongodb/v2/ @CaselIT @alanmarcell @bitjson @dante-101 @mcortesi
/types/mongodb-uri/ @mernxl
-/types/mongoose/ @horiuchi @lukasz-zak @Alorel @jendrikw @ethanresnick @vologab @jussikinnula @ondratra @alfirin @idandrd @various89 @Fazendaaa @NormanPerrin @danmana @stablio @emmanuelgautier @frontendmonster @mingchen @penumbra1 @orblazer @HughKu @niuware @vladmel1234 @jloveridge @grimmer0125 @richarddd @ToucheSir @borfig @dinodeSimon @anthony-kenikh @iamchathu @lkho @tomyam1 @nephix @rlaace423 @ChazEpps
-/types/mongoose/v4/ @simonxca @horiuchi @lukasz-zak @murbanowicz
+/types/mongoose/ @horiuchi @lukasz-zak @Alorel @jendrikw @ethanresnick @vologab @jussikinnula @ondratra @alfirin @idandrd @various89 @Fazendaaa @NormanPerrin @stablio @emmanuelgautier @frontendmonster @mingchen @penumbra1 @orblazer @HughKu @niuware @vladmel1234 @jloveridge @grimmer0125 @richarddd @ToucheSir @borfig @dinodeSimon @anthony-kenikh @iamchathu @lkho @tomyam1 @nephix @rlaace423 @ChazEpps
+/types/mongoose/v4/ @simonxca @horiuchi @lukasz-zak @murbanowicz @bodinsamuel
/types/mongoose-auto-increment/ @AyaMorisawa
+/types/mongoose-autopopulate/ @rann91
/types/mongoose-deep-populate/ @AyaMorisawa
/types/mongoose-delete/ @ndunks
/types/mongoose-geojson-schema/ @bondz
+/types/mongoose-lean-virtuals/ @isaacdecoded
/types/mongoose-mock/ @jt000
/types/mongoose-paginate/ @linusbrolin @simonxca
/types/mongoose-paginate-v2/ @linusbrolin @simonxca @woutgg @oktapodia @ChazEpps
@@ -3622,7 +3752,7 @@
/types/mongration/ @soulthreads
/types/moo/ @deltaidea @MofX @moranje
/types/moonjs/ @DanielRosenwasser
-/types/morgan/ @staticfunction @pscanf
+/types/morgan/ @staticfunction @pscanf @peterblazejewicz
/types/morris.js/ @mareek @sindilevich
/types/mosca/ @GabrielGouv @jerray @ranto2012
/types/motion-scroll/ @ninjabonsai
@@ -3646,7 +3776,7 @@
/types/mui-datatables/ @favna @ankithkonda @hwatersiv @souppower
/types/muibox/ @diegose
/types/muicss/ @samuelneff
-/types/multer/ @jt000 @DavidBR-SW @mxl @hyunseob @PierreTchuente
+/types/multer/ @jt000 @vilic @DavidBR-SW @mxl @hyunseob @PierreTchuente @thrymgjol
/types/multer-gridfs-storage/ @devconcept
/types/multer-gridfs-storage/v3/ @devconcept
/types/multer-gridfs-storage/v2/ @devconcept
@@ -3654,6 +3784,9 @@
/types/multer-s3/ @tcaesvk @galtalmor @terski
/types/multi-progress/ @DHBrett
/types/multi-typeof/ @mhegazy
+/types/multiaddr/ @carsonfarmer
+/types/multibase/ @carsonfarmer
+/types/multicodec/ @carsonfarmer
/types/multimap/ @tallenstudios
/types/multiparty/ @kenfdev
/types/multipipe/ @mjwwit
@@ -3670,7 +3803,7 @@
/types/murmurhash3js/ @dlee-nvisia
/types/musicmatch/ @DadUndead
/types/musicmetadata/ @Xstoudi
-/types/mustache/ @markashleybell @manuth
+/types/mustache/ @markashleybell @manuth @phillipj @sbdchd
/types/mustache-express/ @BendingBender
/types/mutexify/ @maistho
/types/mv/ @nenadalm
@@ -3690,6 +3823,7 @@
/types/nanoid/ @bash @fadezhanger @saschazar21
/types/nanomsg/ @titan
/types/nanoscroller/ @zihark17
+/types/nanotimer/ @bodinsamuel
/types/nanp/ @karn
/types/native-toast/ @mnahkies
/types/natural/ @dmoonfire @forivall
@@ -3700,6 +3834,7 @@
/types/naver-whale/ @tbvjaos510
/types/navermaps/ @ckboyjiy
/types/navigo/ @aersamkull @dancespiele @deini
+/types/ncom/ @DanielRose
/types/nconf/ @jedigo @jmthibault @ew73
/types/ncp/ @bartvds @belemaire @ExE-Boss
/types/ndarray/ @pawsong @taoqf
@@ -3727,7 +3862,7 @@
/types/new-relic-browser/ @renehamburger @piotrkubisa
/types/newline-remove/ @OpenByteDev
/types/newman/ @LogvinovLeon @Graham42
-/types/newrelic/ @mastermatt @brookspatton @MichaelRBond @zieka @kennethaasan
+/types/newrelic/ @mastermatt @brookspatton @MichaelRBond @zieka @kennethaasan @funkswing @dylansmith
/types/newrelic__winston-enricher/ @wrumsby
/types/nexpect/ @vvakame
/types/next-nprogress/ @Ovyerus
@@ -3757,6 +3892,7 @@
/types/ngstorage/ @kubiq
/types/ngtoaster/ @btesser
/types/ngwysiwyg/ @patrick-mackay
+/types/nice-try/ @Richienb
/types/nightmare/ @horiuchi @samyang-au @Bleser92
/types/nightwatch/ @rkavalap @schlesiger @ClaytonAstrom @lloiser
/types/nise/ @a-tarasyuk
@@ -3765,10 +3901,10 @@
/types/noble/ @swook @shantanubhadoria @lukel99 @bioball @keton @thegecko @claytonkucera
/types/noble-mac/ @swook @shantanubhadoria @lukel99 @bioball @keton @thegecko
/types/nodal/ @charrondev
-/types/node/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @brunoscheufler @smac89 @tellnes @touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @samuela @kuehlein @j-oliveras @bhongy @chyzwar @trivikr @nguymin4 @yoursunny @qwelias
-/types/node/v12/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @brunoscheufler @smac89 @tellnes @touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @samuela @kuehlein @j-oliveras @bhongy @chyzwar @trivikr @nguymin4 @yoursunny @qwelias
-/types/node/v11/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @brunoscheufler @smac89 @tellnes @touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @jeremiergz @samuela @kuehlein @j-oliveras @bhongy @ivansieder @nguymin4
-/types/node/v10/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @brunoscheufler @smac89 @tellnes @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @jeremiergz @samuela @kuehlein @j-oliveras @bhongy @nguymin4
+/types/node/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @brunoscheufler @smac89 @tellnes @touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @samuela @kuehlein @j-oliveras @bhongy @chyzwar @trivikr @nguymin4 @yoursunny @qwelias @ExE-Boss @Ryan-Willpower
+/types/node/v12/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @brunoscheufler @smac89 @tellnes @touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @samuela @kuehlein @j-oliveras @bhongy @chyzwar @trivikr @nguymin4 @yoursunny @qwelias @ExE-Boss
+/types/node/v11/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @btoueg @brunoscheufler @smac89 @tellnes @touffy @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @jeremiergz @samuela @kuehlein @j-oliveras @bhongy @ivansieder @nguymin4 @ExE-Boss
+/types/node/v10/ @Microsoft @DefinitelyTyped @jkomyno @a-tarasyuk @alvis @r3nya @brunoscheufler @smac89 @tellnes @DeividasBakanas @eyqs @Flarna @Hannes-Magnusson-CK @KSXGitHub @hoo29 @kjin @ajafff @islishude @mwiktorczyk @mohsen1 @n-e @octo-sniffle @galkin @parambirs @eps1lon @SimonSchick @ThomasdenH @WilcoBakker @wwwy3y3 @ZaneHannanAU @jeremiergz @samuela @kuehlein @j-oliveras @bhongy @nguymin4 @ExE-Boss
/types/node/v9/ @Microsoft @DefinitelyTyped @parambirs @tellnes @WilcoBakker @octo-sniffle @smac89 @Flarna @mwiktorczyk @wwwy3y3 @DeividasBakanas @kjin @alvis @eps1lon @Hannes-Magnusson-CK @jkomyno @ajafff @hoo29 @n-e @galkin @brunoscheufler @mohsen1 @KSXGitHub @a-tarasyuk @islishude @r3nya @eyqs @j-oliveras @bhongy
/types/node/v8/ @Microsoft @DefinitelyTyped @parambirs @tellnes @WilcoBakker @octo-sniffle @smac89 @Flarna @mwiktorczyk @wwwy3y3 @DeividasBakanas @kjin @alvis @eps1lon @Hannes-Magnusson-CK @jkomyno @hoo29 @n-e @galkin @brunoscheufler @KSXGitHub @islishude @r3nya @j-oliveras @bhongy
/types/node/v7/ @Microsoft @DefinitelyTyped @parambirs @tellnes @WilcoBakker @eps1lon @KSXGitHub @Archcry @j-oliveras
@@ -3781,7 +3917,7 @@
/types/node-calendar/ @luzianz
/types/node-cleanup/ @agadar
/types/node-crate/ @gjednaszewski
-/types/node-cron/ @maximelkin @burtek @RMHonor
+/types/node-cron/ @maximelkin @burtek @RMHonor @ataberkylmz
/types/node-dijkstra/ @nokutu
/types/node-dir/ @panuhorsmalahti @jlismore
/types/node-dogstatsd/ @chrisbobo @xzyfer
@@ -3789,9 +3925,9 @@
/types/node-easy-cert/ @SomaticIT
/types/node-emoji/ @jonestristand @styu @rimiti
/types/node-expat/ @winston01
-/types/node-fetch/ @torstenwerner @nikcorg @vinaybedre @kyranet @AndrewLeedham @JasonLi914 @wilsonianb @southpolesteve @ExE-Boss @alexandrusavin
+/types/node-fetch/ @torstenwerner @nikcorg @vinaybedre @kyranet @AndrewLeedham @JasonLi914 @wilsonianb @southpolesteve @ExE-Boss @alexandrusavin @OmgImAlexis
/types/node-fibers/ @caryhaynie
-/types/node-forge/ @westy92 @flynetworks @a-k-g @rafal2228 @beenotung @joeflateau @Apologiz @timhwang21 @supaiku0 @andersk @saschazar21 @rogierschouten
+/types/node-forge/ @westy92 @flynetworks @a-k-g @rafal2228 @beenotung @joeflateau @Apologiz @timhwang21 @supaiku0 @andersk @saschazar21 @rogierschouten @aseevia
/types/node-gcm/ @horiuchi
/types/node-geocoder/ @rosek86
/types/node-getopt/ @kcauchy
@@ -3841,7 +3977,7 @@
/types/node-wget-promise/ @sandersn
/types/node-windows/ @kenhuman
/types/node-wit/ @julienduf
-/types/node-xlsx/ @cWatermelon
+/types/node-xlsx/ @cWatermelon @kinuxroot
/types/node-xmpp-client/ @PJakcson
/types/node-xmpp-core/ @PJakcson
/types/node-zendesk/ @jgeth
@@ -3870,9 +4006,10 @@
/types/normalize-jss/ @maxbogus
/types/normalize-package-data/ @jdxcode
/types/normalize-path/ @BendingBender
+/types/nosleep.js/ @JoshuaKGoldberg
/types/notie/ @mateusdemboski
/types/notify/ @hellochar
-/types/notifyjs/ @soundTricker @NateScarlet
+/types/notifyjs/ @soundTricker @NateScarlet @eikendev
/types/notifyjs-browser/ @bahman616
/types/notp/ @wilfredtan
/types/nouislider/ @bleuarg @lagaffe
@@ -3897,6 +4034,7 @@
/types/nslog/ @unindented
/types/nsqjs/ @cezaryrk
/types/nssm/ @hongaar
+/types/ntlm-client/ @borrajo
/types/nuclear-js/ @patlillis
/types/num2fraction/ @sergey12313
/types/number-is-nan/ @mhegazy
@@ -3907,10 +4045,11 @@
/types/nunjucks/ @RubenSlabbert @MatthewBurstein
/types/nunjucks-date/ @kruncher
/types/nuxtjs__auth/ @jonnyparris @danielgek @NickBolles @arodiono
-/types/nvd3/ @PjMitchell
+/types/nvd3/ @PjMitchell @bigrocketgames
/types/nw.gui/ @xperiments
/types/nw.js/ @alirdn
/types/nwmatcher/ @woutervh-
+/types/nyaapi/ @infanf
/types/oakdex-pokedex/ @jalyna
/types/oauth/ @nonAlgebraic @EduardoAC
/types/oauth-shim/ @BendingBender
@@ -3924,16 +4063,18 @@
/types/object-assign/ @chbrown
/types/object-assign-deep/ @nickbclifford
/types/object-diff/ @rogierschouten
+/types/object-fit-images/ @rann91
/types/object-hash/ @misak113 @artdiniz
-/types/object-inspect/ @demurgos @Akuukis
+/types/object-inspect/ @demurgos @Akuukis @ljharb
/types/object-joiner/ @me
-/types/object-keys/ @VitorLuizC
+/types/object-keys/ @VitorLuizC @ljharb
/types/object-keys-mapping/ @newraina
/types/object-map/ @wolfgang42
+/types/object-mapper/ @me
/types/object-merge/ @OpenByteDev
/types/object-path/ @pocesar @BendingBender
/types/object-refs/ @3fd
-/types/object.getownpropertydescriptors/ @VitorLuizC
+/types/object.getownpropertydescriptors/ @VitorLuizC @ljharb @ExE-Boss
/types/object.omit/ @ifiokjr
/types/object.pick/ @ifiokjr
/types/objtools/ @me
@@ -3942,9 +4083,9 @@
/types/observe-js/ @herrmanno
/types/oclazyload/ @rolandzwaga
/types/ofe/ @Morfent
-/types/office-js/ @OfficeDev @LanceEA @Zlatkovsky @kbrandl @Rick-Kirkham @AlexJerabek @ElizabethSamuel-MSFT
-/types/office-js-preview/ @OfficeDev @Zlatkovsky @kbrandl @Rick-Kirkham @AlexJerabek @ElizabethSamuel-MSFT
-/types/office-runtime/ @OfficeDev @Zlatkovsky @mscharlock @davidchesnut @AlexJerabek @sumurthy
+/types/office-js/ @OfficeDev @Zlatkovsky @Rick-Kirkham @AlexJerabek @ElizabethSamuel-MSFT @sumurthy
+/types/office-js-preview/ @OfficeDev @Zlatkovsky @Rick-Kirkham @AlexJerabek @ElizabethSamuel-MSFT @sumurthy
+/types/office-runtime/ @OfficeDev @Zlatkovsky @mscharlock @davidchesnut @AlexJerabek @sumurthy @rick-kirkham
/types/offline-js/ @cgwrench
/types/offscreencanvas/ @kayahr @ova2
/types/oibackoff/ @geoffreak
@@ -3952,6 +4093,7 @@
/types/oja/ @buffcode
/types/okta__okta-vue/ @innovation-team @mgdodge
/types/ol/ @hanreev
+/types/ol/v5/ @hanreev
/types/omelette/ @kamontat
/types/omggif/ @ffflorian
/types/omit-empty/ @pastelsky
@@ -3969,6 +4111,7 @@
/types/openapi-factory/ @runebaas
/types/opener/ @tikurahul
/types/openfin/ @chrisbarker @rdepena @whyn07m3 @licui3936 @tomer-openfin
+/types/openfin/v45/ @chrisbarker @rdepena @whyn07m3 @licui3936 @tomer-openfin
/types/openfin/v43/ @chrisbarker @rdepena @whyn07m3 @licui3936 @tomer-openfin
/types/openfin/v41/ @chrisbarker @rdepena @whyn07m3 @licui3936
/types/openfin/v39/ @chrisbarker @rdepena @whyn07m3 @licui3936
@@ -4000,6 +4143,7 @@
/types/orientjs/ @saeedtabrizi
/types/original/ @wcarson
/types/os-homedir/ @mhegazy
+/types/os-service/ @magginichi
/types/os-tmpdir/ @mhegazy
/types/os-utils/ @bacali95
/types/osenv/ @adamzerella
@@ -4007,6 +4151,8 @@
/types/osmtogeojson/ @tkqubo
/types/ospec/ @maranomynet @spacejack @isiahmeadows
/types/osrm/ @DenisCarriere
+/types/osrs-json-api/ @kylemiller3
+/types/ouibounce/ @LiquidPL
/types/overlayscrollbars/ @KingSora
/types/owasp-password-strength-test/ @stephtr
/types/owl.carousel/ @igorissen @KennethanCeyer
@@ -4018,6 +4164,7 @@
/types/package-info/ @ffflorian
/types/packery/ @piraveen @hanssens
/types/pacote/ @ChaosinaCan
+/types/pad-left/ @Richienb
/types/page/ @43081j
/types/pager__jackrabbit/ @dagams
/types/paho-mqtt/ @amikhalev
@@ -4027,6 +4174,7 @@
/types/papaparse/ @torpedro @rainshen49 @jfloff @johnnyreilly @albertorestifo @BehindTheMath @3af @jliuhtonen @rbarbazz
/types/parallel-transform/ @djcsdy
/types/paralleljs/ @jbaldwin
+/types/parameterize/ @me
/types/parcel-bundler/ @pinage404 @nick-woodward
/types/parcel-env/ @fathyb
/types/parent-package-json/ @sgmccli
@@ -4035,7 +4183,7 @@
/types/parity-pmr/ @leovujanic
/types/parity-poe/ @leovujanic
/types/parquetjs/ @jon-fearer
-/types/parse/ @ullisenmedia @dpoetzsch @jaeggerr @flavionegrao @wesleygrimes @owsas @agoldis @AlexandreHetu @dplewis @yomybaby @pocketcolin @rdhelms @jlnquere @yagotome @tybi @RaschidJFR @jeffgukang @buitanloc @LinusU @REPTILEHAUS
+/types/parse/ @ullisenmedia @dpoetzsch @jaeggerr @flavionegrao @wesleygrimes @owsas @agoldis @AlexandreHetu @dplewis @yomybaby @pocketcolin @rdhelms @jlnquere @yagotome @tybi @RaschidJFR @jeffgukang @buitanloc @LinusU @REPTILEHAUS @JeromeDeLeon @kentrh
/types/parse/v1/ @dpoetzsch @jaeggerr @flavionegrao @wesleygrimes @owsas
/types/parse-author/ @remcohaszing
/types/parse-color/ @ajcrites
@@ -4052,6 +4200,7 @@
/types/parse-package-name/ @fa93hws
/types/parse-passwd/ @BendingBender
/types/parse-path/ @ffflorian
+/types/parse-prefer-header/ @XVincentX @marcelltoth
/types/parse-torrent/ @niieani @tlaziuk
/types/parse-torrent-file/ @tlaziuk
/types/parse-unit/ @Jack-Works
@@ -4065,10 +4214,10 @@
/types/parse5-serializer-stream/ @inikulin
/types/parsecurrency/ @cristianrgreco
/types/parseurl/ @bomret
-/types/parsimmon/ @Bartvds @mizunashi-mana @bcherny @bvanreeven @leonard-thieu @MrJohz
+/types/parsimmon/ @Bartvds @mizunashi-mana @bcherny @bvanreeven @leonard-thieu @MrJohz @caasi
/types/passport/ @horiuchi @enaeseth @theigor @tlaziuk @danielpa9708 @kstiehl @vaskevich
/types/passport-anonymous/ @0x6368656174
-/types/passport-auth0/ @johnbendi @iamvishnusankar @duncanhall
+/types/passport-auth0/ @johnbendi @iamvishnusankar @duncanhall @karlhorky
/types/passport-azure-ad/ @ShekharNain
/types/passport-beam/ @AtlasDev
/types/passport-bnet/ @ivan94
@@ -4088,6 +4237,7 @@
/types/passport-linkedin-oauth2/ @andrewvetovitz
/types/passport-local/ @SomaticIT
/types/passport-local-mongoose/ @linusbrolin
+/types/passport-microsoft/ @skrud
/types/passport-naver/ @Park9eon @zerocho
/types/passport-oauth2/ @pasieronen @WangZishi @EduardoAC @ivan94
/types/passport-oauth2-client-password/ @akaNightmare
@@ -4115,12 +4265,14 @@
/types/payment/ @apare
/types/paypal-cordova-plugin/ @Justin-Credible
/types/paypal-rest-sdk/ @trainerbill @barronwei
+/types/paystack/ @sheghun
/types/pbf/ @cschwarz
/types/pbkdf2/ @timonegk
+/types/pdf-image/ @nicklatkovich
/types/pdf2image/ @taoqf
/types/pdfjs-dist/ @jbaldwin @1999
/types/pdfkit/ @erichillah @she11sh0cked
-/types/pdfmake/ @m1llen1um @radziksh @evolkmann @andipaetzold
+/types/pdfmake/ @m1llen1um @radziksh @evolkmann @andipaetzold @nmummau
/types/pdfobject/ @nielsboogaard
/types/pebblekitjs/ @makotokw
/types/peer-dial/ @RealTYPICAL
@@ -4173,7 +4325,7 @@
/types/pikaday-time/ @Sayan751
/types/ping/ @RMHonor
/types/pinkyswear/ @chances
-/types/pino/ @psnider @BendingBender @screendriver @paambaati @alferpal @mortiy @lummish @raoulus @Cooryd @AdamVig
+/types/pino/ @psnider @BendingBender @screendriver @paambaati @alferpal @mortiy @lummish @raoulus @Cooryd @AdamVig @austin-beer @Pegase745
/types/pino/v3/ @psnider
/types/pino-http/ @screendriver @jdforsythe @tough-griff
/types/pino-multi-stream/ @JakeGinnivan
@@ -4212,11 +4364,14 @@
/types/pollyjs__adapter/ @feinoujc
/types/pollyjs__adapter-fetch/ @feinoujc
/types/pollyjs__adapter-node-http/ @jlmessenger
+/types/pollyjs__adapter-puppeteer/ @offirgolan
/types/pollyjs__adapter-xhr/ @silverchen
/types/pollyjs__core/ @feinoujc @BoruiGu @offirgolan
/types/pollyjs__node-server/ @offirgolan
/types/pollyjs__persister/ @feinoujc @silverchen
/types/pollyjs__persister-fs/ @feinoujc
+/types/pollyjs__persister-local-storage/ @offirgolan
+/types/pollyjs__persister-rest/ @offirgolan
/types/pollyjs__utils/ @feinoujc @offirgolan
/types/polyfill-service/ @Alorel
/types/polygon/ @Nielio
@@ -4302,6 +4457,7 @@
/types/promise-ftp/ @coolreader18 @Rolandisimo
/types/promise-ftp-common/ @coolreader18
/types/promise-hash/ @mshafir
+/types/promise-inflight/ @forivall
/types/promise-map-limit/ @kohlmannj
/types/promise-memoize/ @forivall
/types/promise-nodeify/ @jgeth
@@ -4314,8 +4470,8 @@
/types/promise-sequential/ @garyking
/types/promise-sftp/ @coolreader18
/types/promise-timeout/ @Aankhen
-/types/promise.allsettled/ @jurca @kisaraofpern
-/types/promise.prototype.finally/ @slavik57 @BendingBender
+/types/promise.allsettled/ @jurca @kisaraofpern @ljharb
+/types/promise.prototype.finally/ @slavik57 @BendingBender @ljharb
/types/promised-ldap/ @pluma
/types/promised-temp/ @rokadias
/types/promisify-node/ @borekb
@@ -4355,7 +4511,7 @@
/types/protractor-http-mock/ @Crevil @akwiatek
/types/provinces/ @gatimus
/types/proxy-addr/ @BendingBender
-/types/proxy-from-env/ @JasonHK
+/types/proxy-from-env/ @JasonHK @flopes89
/types/proxy-lists/ @BehindTheMath
/types/proxy-verifier/ @BehindTheMath
/types/proxyquire/ @jt000
@@ -4364,11 +4520,12 @@
/types/psl/ @BendingBender
/types/ptomasroos__react-native-multi-slider/ @Slessi
/types/pty.js/ @enlight
-/types/pubnub/ @bitbankinc @rollymaduk @vitosamson @FlorianDr @danduh @ChristianBoehlke @divyun
+/types/pubnub/ @bitbankinc @rollymaduk @vitosamson @FlorianDr @danduh @ChristianBoehlke @divyun @mohitpubnub
/types/pubsub-js/ @borisyankov
/types/pug/ @TonyPythoneer @19majkel94
/types/pull-stream/ @mjwwit
-/types/pulltorefreshjs/ @DanielRosenwasser @humpedli
+/types/pulltorefreshjs/ @DanielRosenwasser @humpedli @bodinsamuel
+/types/pulsar-client/ @bwalendz
/types/pump/ @tlaziuk @jcordial
/types/pumpify/ @JustinBeckwith @aoberoi
/types/punycode/ @yavanosta
@@ -4398,7 +4555,7 @@
/types/qrcode/ @plantain-00 @mnahkies @Marchelune
/types/qrcode-svg/ @ericbf
/types/qrcode.react/ @mleko @yonasadiel @bjoluc
-/types/qs/ @RWander @leonyu @tehbelinda @zyml @artursvonda @CarlosBonetti @dpsmith3 @hperrin
+/types/qs/ @RWander @leonyu @tehbelinda @zyml @artursvonda @CarlosBonetti @dpsmith3 @hperrin @ljharb
/types/qs-middleware/ @davecardwell
/types/qtip2/ @Seltzer @leonard-thieu
/types/querystringify/ @ilich
@@ -4418,7 +4575,7 @@
/types/raf/ @BenLorantfy
/types/raf-schd/ @adambrgmn
/types/ramda/ @TheHandsomeCoder @donnut @mdekrey @mrdziuban @sbking @afharo @teves-castro @1M0reBug @hojberg @samsonkeung @angeloocana @raynerd @moshensky @ethanresnick @deftomat @blimusiek @biern @rayhaneh @rgm @drewwyatt @jottenlips @minitesh @krantisinh @pirix-gh @brekk @nemo108 @jituanlin @Philippe-mills @Saul-Mirone
-/types/random/ @sandersn
+/types/random/ @sandersn @kijowski
/types/random-boolean/ @BendingBender
/types/random-bytes/ @me
/types/random-normal/ @dikarel
@@ -4445,7 +4602,7 @@
/types/raspi-pwm/ @nebrius
/types/raspi-serial/ @nebrius
/types/raspi-soft-pwm/ @nebrius
-/types/rate-limit-redis/ @csuich2
+/types/rate-limit-redis/ @csuich2 @dotconnor
/types/ratelimiter/ @AyaMorisawa
/types/raty/ @terrawheat
/types/raven/ @scttcper @1999 @shreyjain1994
@@ -4464,13 +4621,22 @@
/types/rcloader/ @panuhorsmalahti
/types/rdf-data-model/ @rubensworks
/types/rdf-dataset-ext/ @thewilkybarkid
+/types/rdf-dataset-indexed/ @thewilkybarkid
/types/rdf-ext/ @tpluscode
/types/rdf-js/ @rubensworks @LaurensRietveld
+/types/rdf-transform-triple-to-quad/ @tpluscode
+/types/rdfjs__dataset/ @tpluscode
+/types/rdfjs__fetch/ @tpluscode
+/types/rdfjs__fetch-lite/ @tpluscode
+/types/rdfjs__formats-common/ @tpluscode
/types/rdfjs__namespace/ @thewilkybarkid
/types/rdfjs__parser-jsonld/ @thewilkybarkid
/types/rdfjs__parser-n3/ @tpluscode
/types/rdfjs__serializer-jsonld/ @thewilkybarkid
/types/rdfjs__serializer-jsonld-ext/ @thewilkybarkid
+/types/rdfjs__sink-map/ @tpluscode
+/types/rdfjs__to-ntriples/ @tpluscode
+/types/rdflib/ @cenotelie
/types/re-base/ @jordandrako
/types/reach__alert/ @hedgerh
/types/reach__alert-dialog/ @hedgerh
@@ -4479,14 +4645,14 @@
/types/reach__dialog/ @hedgerh
/types/reach__menu-button/ @hedgerh
/types/reach__rect/ @hedgerh
-/types/reach__router/ @kingdaro @xMokAx @awwit
+/types/reach__router/ @kingdaro @xMokAx @awwit @wroughtec
/types/reach__skip-nav/ @hedgerh
/types/reach__tabs/ @hedgerh
/types/reach__tooltip/ @hedgerh
/types/reach__utils/ @hedgerh
/types/reach__visually-hidden/ @hedgerh
/types/reach__window-size/ @hedgerh
-/types/react/ @johnnyreilly @bbenezech @pzavolinsky @digiguru @ericanderson @DovydasNavickas @theruther4d @guilhermehubner @ferdaber @jrakotoharisoa @pascaloliv @hotell @franklixuefei @Jessidhia @saranshkataria @lukyth @eps1lon @zieka @dancerphil
+/types/react/ @johnnyreilly @bbenezech @pzavolinsky @digiguru @ericanderson @DovydasNavickas @theruther4d @guilhermehubner @ferdaber @jrakotoharisoa @pascaloliv @hotell @franklixuefei @Jessidhia @saranshkataria @lukyth @eps1lon @zieka @dancerphil @dimitropoulos
/types/react/v15/ @bbenezech @pzavolinsky @digiguru @ericanderson @DovydasNavickas @onigoetz @zieka
/types/react-adal/ @dkorolev1
/types/react-add-to-calendar/ @koss-lebedev
@@ -4498,16 +4664,17 @@
/types/react-app/ @prakarshpandey
/types/react-aria-live/ @ajliv
/types/react-aria-menubutton/ @forabi @crohlfs @karmats
-/types/react-aria-modal/ @gabycperezdias @forabi @grgr-dkrk
+/types/react-aria-modal/ @gabycperezdias @forabi @grgr-dkrk @crutchcorn
/types/react-autocomplete/ @lstanden
/types/react-autosuggest/ @nicolas-schmitt @pjo256 @robessog @tbayne @cdeutsch @rosskevin @ThomasdenH @ulrichb
/types/react-avatar-editor/ @diogocorrea @gabsprates @lsenta @davidspiess @JohnGrisham
/types/react-axe/ @akshaykarthik
-/types/react-beautiful-dnd/ @varHarrie @bradleyayers @paustint @marknelissen @enricoboccadifuoco @lonyele @lukyth
+/types/react-beautiful-dnd/ @varHarrie @bradleyayers @paustint @marknelissen @enricoboccadifuoco @lonyele @lukyth @aruniverse
+/types/react-beautiful-dnd/v11/ @varHarrie @bradleyayers @paustint @marknelissen @enricoboccadifuoco @lonyele @lukyth
/types/react-beautiful-dnd/v10/ @varHarrie @bradleyayers @paustint @marknelissen @enricoboccadifuoco @lonyele @lukyth
/types/react-beforeunload/ @nem035
/types/react-better-password/ @mhuynh1
-/types/react-big-calendar/ @piotrwitek @paustint @pikpok @eps1lon @strongpauly @janb87 @ldthorne @siavelis @TomasHubelbauer @lksilva @SergeyBelofost @marknelissen @KenneyE @PaitoAnderson @michalak111
+/types/react-big-calendar/ @piotrwitek @paustint @pikpok @eps1lon @strongpauly @janb87 @ldthorne @siavelis @TomasHubelbauer @lksilva @SergeyBelofost @marknelissen @KenneyE @PaitoAnderson @michalak111 @fhessenberger
/types/react-big-scheduler/ @FizzBuzz791
/types/react-blessed/ @guoshencheng
/types/react-body-classname/ @mhegazy
@@ -4523,8 +4690,10 @@
/types/react-burger-menu/ @radziksh @dacevedo12 @germanp173
/types/react-cache/ @skovy
/types/react-calendar-heatmap/ @9renpoto
-/types/react-calendar-timeline/ @radziksh @acemac @rip21
+/types/react-calendar-timeline/ @radziksh @acemac @rip21 @joncar
+/types/react-canvas-draw/ @ksocha
/types/react-cartographer/ @trevonmckay
+/types/react-chat-widget/ @stevemao
/types/react-click-outside/ @screendriver @Ky6uk
/types/react-click-outside-hook/ @bdeloeste
/types/react-close-on-escape/ @JamesAlias
@@ -4549,6 +4718,7 @@
/types/react-currency-formatter/ @pastushenkoy @Jeka-Vasiliev
/types/react-custom-scrollbars/ @David-LeBlanc-git @kittimiyo
/types/react-custom-scrollbars/v3/ @David-LeBlanc-git
+/types/react-d3-graph/ @hrngoode @adina-todoran
/types/react-data-grid/ @SupernaviX @KieranPeat @martinnov92 @baso53
/types/react-data-grid/v2/ @SupernaviX @KieranPeat @martinnov92 @Ragzzy-R
/types/react-data-grid/v1/ @SupernaviX
@@ -4584,9 +4754,10 @@
/types/react-file-input/ @dmitryrogozhny
/types/react-file-reader-input/ @dmitryrogozhny @alitaheri
/types/react-filepond/ @zposten
+/types/react-final-form-listeners/ @yurist38
/types/react-flag-icon-css/ @jonfreedman
/types/react-flags-select/ @senukartur
-/types/react-flatpickr/ @begincalendar @snaveevans @rigothedev @doniyor2109
+/types/react-flatpickr/ @begincalendar @snaveevans @rigothedev @doniyor2109 @jleider
/types/react-flex/ @pushplay
/types/react-flexr/ @pushplay
/types/react-fontawesome/ @timurrustamov @dublicator @vincaslt @gavingregory
@@ -4614,6 +4785,7 @@
/types/react-headroom/ @zerocho
/types/react-helmet/ @evanbb @isman-usoh @lith-light-g @sammkj @yuit @ykzts @wKovacs64
/types/react-helmet/v4/ @evanbb @isman-usoh
+/types/react-helmet-with-visor/ @kokushkin
/types/react-highcharts/ @j1r1k
/types/react-highlight/ @joshuakgoldberg @jplew
/types/react-highlight-words/ @mhegazy @diogodca @kellyrmilligan
@@ -4657,7 +4829,7 @@
/types/react-js-pagination/ @netoisc
/types/react-json/ @spielc
/types/react-json-tree/ @gnestor @zainafzal08
-/types/react-jsonschema-form/ @iamdanfox @iplus26 @phbou72 @LucianBuzzo @sthenault @sbusch @medfreeman @saadtazi @agustin107 @chanceaclark @ogdentrod
+/types/react-jsonschema-form/ @iamdanfox @iplus26 @phbou72 @LucianBuzzo @sthenault @sbusch @medfreeman @saadtazi @agustin107 @chanceaclark @ogdentrod @andrenguyener @qingqishi
/types/react-kawaii/ @ZhangYiJiang
/types/react-lazy-load-image-component/ @danvk @diegochavez @revskill10
/types/react-lazyload/ @m0a @svobik7
@@ -4676,7 +4848,7 @@
/types/react-loader-spinner/ @rayhanw
/types/react-lottie/ @Kana00 @Ricki-BumbleDev
/types/react-mailchimp-subscribe/ @osdiab
-/types/react-map-gl/ @rimig @fnberta @sandersiim @oturpe @Arman92 @chiuhow
+/types/react-map-gl/ @rimig @fnberta @sandersiim @oturpe @Arman92 @chiuhow @singingwolfboy
/types/react-maskedinput/ @LKay @lavoaster @CarlosBonetti
/types/react-material-ui-form-validator/ @FrankBrullo @jrguenin
/types/react-mathquill/ @magonzalez9
@@ -4685,27 +4857,32 @@
/types/react-measure/ @asvetliakov @marcfallows
/types/react-medium-image-zoom/ @james-ff
/types/react-mentions/ @activescott @efedorenko
+/types/react-messenger-checkbox/ @remiroyc
/types/react-mic/ @mikaello
/types/react-mixin/ @tkqubo
-/types/react-modal/ @radziksh @drewnoakes @homburg @ttamminen @hallowatcher @peterblazejewicz @jpowell
+/types/react-modal/ @radziksh @drewnoakes @homburg @ttamminen @hallowatcher @peterblazejewicz @jpowell @fiberjw @nitzanmo
/types/react-motion/ @stepancar @asvetliakov @dimitarnestorov
/types/react-motion-loop/ @j-em
/types/react-motion-slider/ @asvetliakov
/types/react-motion-ui-pack/ @jsonunger
-/types/react-native/ @alloy @huhuanming @iRoachie @skn0tt @timwangdev @kamal @alexdunne @swissmanu @bm-software @a-tarasyuk @mvdam @esemesek @mrnickel @souvik-ghosh @nossbigg @saranshkataria @franzmoro @tykus160 @jakebloom @ceyhun @mcmar @theohdv @TheSavior @romain-faust @bebebebebe @Naturalclar @chinesedfan @vtolochk @SychevSP
+/types/react-native/ @alloy @huhuanming @iRoachie @skn0tt @timwangdev @kamal @alexdunne @swissmanu @bm-software @a-tarasyuk @mvdam @esemesek @mrnickel @souvik-ghosh @nossbigg @saranshkataria @franzmoro @tykus160 @jakebloom @ceyhun @mcmar @theohdv @TheSavior @romain-faust @bebebebebe @Naturalclar @chinesedfan @vtolochk @SychevSP @RageBill @sasurau4 @256hz @doumart @drmas
/types/react-native-actionsheet/ @ian-rudge
/types/react-native-android-taskdescription/ @christianchown
-/types/react-native-app-intro-slider/ @hmajid2301
+/types/react-native-app-intro-slider/ @hmajid2301 @oliverwelter
/types/react-native-app-link/ @johngeorgewright
+/types/react-native-appsflyer/ @fabianlee1211
/types/react-native-audio/ @taoqf
/types/react-native-auth0/ @ascariandrea @marknelissen @leoafarias
/types/react-native-autocomplete-input/ @ifiokjr @lukyth
/types/react-native-autocomplete-input/v3/ @ifiokjr
/types/react-native-awesome-card-io/ @OnurVar @emlynmac
+/types/react-native-background-downloader/ @Kweiza @adamrhunter
/types/react-native-background-timer/ @chillkroeteTTS
/types/react-native-bluetooth-serial/ @RodrigoAWeber
/types/react-native-calendars/ @Tyler-Zhang @DavidNorena @FabianMeul
/types/react-native-canvas/ @hmajid2301 @ragebill
+/types/react-native-charts-wrapper/ @dotconnor
+/types/react-native-check-box/ @rlemasquerier
/types/react-native-communications/ @huhuanming @PaitoAnderson
/types/react-native-community__cli/ @agathekieny
/types/react-native-custom-tabs/ @philnova
@@ -4716,7 +4893,7 @@
/types/react-native-document-picker/ @plantain-00
/types/react-native-dotenv/ @hmajid2301
/types/react-native-draggable-flatlist/ @stackbuilders @ibarrae
-/types/react-native-drawer/ @jnbt @suniahk
+/types/react-native-drawer/ @jnbt @suniahk @LinusU
/types/react-native-drawer-layout/ @jmfirth
/types/react-native-easy-upgrade/ @taoqf
/types/react-native-elevated-view/ @fhelwanger
@@ -4730,7 +4907,7 @@
/types/react-native-huawei-protected-apps/ @christianchown
/types/react-native-i18n/ @VincentLanglet
/types/react-native-incall-manager/ @KarlosQ
-/types/react-native-indicators/ @ifiokjr
+/types/react-native-indicators/ @ifiokjr @frankyjuang
/types/react-native-joi/ @CharlesStrong-GeoH
/types/react-native-keep-awake/ @huhuanming
/types/react-native-keyboard-spacer/ @VincentLanglet
@@ -4740,6 +4917,7 @@
/types/react-native-material-design-searchbar/ @iRoachie
/types/react-native-material-dropdown/ @jaydeep987 @mchappell
/types/react-native-material-kit/ @iRoachie @timwangdev
+/types/react-native-material-menu/ @KoreanThinker
/types/react-native-material-textfield/ @mindhivefi @iRoachie @cavarzan @neelb2
/types/react-native-material-ui/ @iRoachie
/types/react-native-mixpanel/ @r3nya
@@ -4760,6 +4938,7 @@
/types/react-native-qrcode/ @plantain-00
/types/react-native-read-more-text/ @solkaz
/types/react-native-referrer/ @christianchown
+/types/react-native-responsive-dimensions/ @SConaway
/types/react-native-restart/ @christianchown
/types/react-native-rss-parser/ @emilianoLeite
/types/react-native-safari-view/ @mrand01
@@ -4767,7 +4946,8 @@
/types/react-native-scrollable-tab-view/ @CaiHuan @egorshulga @ydostyle
/types/react-native-sensor-manager/ @SahinVardar
/types/react-native-settings-list/ @MrLuje
-/types/react-native-share/ @marknelissen @santiagofm @MateusAndrade
+/types/react-native-share/ @marknelissen @santiagofm @MateusAndrade @Naturalclar @fabianlee1211
+/types/react-native-share/v1/ @marknelissen @santiagofm @MateusAndrade @Naturalclar
/types/react-native-share-extension/ @hmajid230
/types/react-native-share-menu/ @hmajid2301
/types/react-native-signature-capture/ @ifiokjr
@@ -4788,9 +4968,10 @@
/types/react-native-uuid/ @hmajid2301
/types/react-native-uuid-generator/ @burtek
/types/react-native-vector-icons/ @iRoachie @timwangdev @robertying @Naturalclar
-/types/react-native-version-check/ @vdelacou
+/types/react-native-version-check/ @vdelacou @KrishyV
/types/react-native-version-number/ @VincentLanglet
-/types/react-native-video/ @huhuanming
+/types/react-native-video/ @huhuanming @Nekith
+/types/react-native-video-player/ @Kweiza
/types/react-native-view-pdf/ @thesergiomiguel
/types/react-native-webrtc/ @KarlosQ
/types/react-native-zeroconf/ @mattapet
@@ -4803,7 +4984,7 @@
/types/react-offcanvas/ @abukurov
/types/react-onclickoutside/ @LKay @surgeboris @NilSet
/types/react-onclickoutside/v5/ @LKay
-/types/react-onsenui/ @salim7 @jemmyw @lirbank @uztbt
+/types/react-onsenui/ @salim7 @jemmyw @lirbank @uztbt @LaBlazer
/types/react-outside-click-handler/ @zubivan
/types/react-overlays/ @aaronbeall @vitosamson @aarondancer
/types/react-paginate/ @deevus @wouterhardeman @pegel03 @archy-bold @yasupeke @sugarshin @SPWizard01 @kevinrambaud
@@ -4811,10 +4992,11 @@
/types/react-paginate/v4/ @deevus @wouterhardeman @pegel03 @archy-bold
/types/react-panelgroup/ @qgolsteyn
/types/react-pdf/ @CodeDaraW @nhardy
+/types/react-phone-number-input/ @PeterYangIO @AdrienEtienne @fleck @jlismore
/types/react-photoswipe/ @kwzm
/types/react-places-autocomplete/ @guilhermehubner @r3nya @ApeNox @azizhk @marknelissen
/types/react-places-autocomplete/v6/ @guilhermehubner @r3nya @ApeNox @azizhk
-/types/react-plaid-link/ @DanceParty
+/types/react-plaid-link/ @DanceParty @mikecousins
/types/react-plotly.js/ @jonfreedman @gricey432
/types/react-plyr/ @baorv
/types/react-pointable/ @istefo @mdibyo
@@ -4828,8 +5010,9 @@
/types/react-radio-group/ @jsonunger
/types/react-rangeslider/ @RichieRock
/types/react-recaptcha/ @mhegazy @zzanol
+/types/react-recaptcha-v3/ @silversonicaxel @ivansiach0
/types/react-reconciler/ @Methuselah96
-/types/react-redux/ @tkqubo @kenzierocks @clayne11 @tansongyang @nicholasboll @mdibyo @kallikrein @val1984 @jrakotoharisoa @apapirovski @surgeboris @soerenbf @mrwolfz @dylanvann
+/types/react-redux/ @tkqubo @kenzierocks @clayne11 @tansongyang @nicholasboll @mdibyo @kallikrein @val1984 @jrakotoharisoa @apapirovski @surgeboris @soerenbf @mrwolfz @dylanvann @Lazyuki @kazuma1989
/types/react-redux/v6/ @tkqubo @kenzierocks @clayne11 @tansongyang @nicholasboll @mdibyo @pdeva @kallikrein @val1984 @jrakotoharisoa @apapirovski @surgeboris
/types/react-redux/v5/ @tkqubo @thasner @kenzierocks @clayne11 @tansongyang @nicholasboll @mdibyo @pdeva
/types/react-redux-epic/ @forabi
@@ -4857,6 +5040,7 @@
/types/react-router-redux/ @huy-nguyen @8398a7 @mykolas
/types/react-router-redux/v4/ @isman-usoh @noah79 @rosendi @LKay @DovydasNavickas
/types/react-router-redux/v3/ @isman-usoh @noah79 @rosendi
+/types/react-router-tabs/ @joakimunge
/types/react-rte/ @jclyons52 @MunifTanjim
/types/react-s-alert/ @mitsuruog
/types/react-scroll/ @sudoplz @GiedriusGrabauskas
@@ -4866,13 +5050,14 @@
/types/react-scrollbar/ @stephenjelfs @HugoCapocci
/types/react-scrollbar-size/ @abukurov
/types/react-scrollspy/ @ZhangYiJiang
-/types/react-select/ @claasahl @jonfreedman @Methuselah96 @thchia @danieldelcore
+/types/react-select/ @claasahl @jonfreedman @Methuselah96 @thchia @danieldelcore @rjoonas
/types/react-select/v1/ @Hesquibet @giladgray @iebaker @skirsdeda @vujevits @devrelm @MartynasZilinskas @onatm @ninjaferret @tehbi4 @misantronic @darkartur @eps1lon @endurance @RCGuillaume
/types/react-shadow-dom-retarget-events/ @remcohaszing
/types/react-share/ @icopp @maximzasorin
/types/react-show-more/ @naortor
/types/react-side-effect/ @remojansen @0xcaff
/types/react-sidebar/ @jeroenvervaeke
+/types/react-signature-canvas/ @ksocha
/types/react-simple-maps/ @thepocp @pronebird
/types/react-sizes/ @janKir @micahstubbs
/types/react-sketchapp/ @ricokahler @DomiR @saschazar21
@@ -4891,26 +5076,26 @@
/types/react-stars/ @TingYuLC
/types/react-sticky/ @curtisw0 @ajhyndman
/types/react-sticky-el/ @jbraithwaite
-/types/react-stickynode/ @tstirrat
-/types/react-stripe-elements/ @dan-j @santiagodoldan @sonnysangha @9y5 @thchia @yhnavein @virzak @remotealex @bombek92 @hirochachacha
+/types/react-stickynode/ @tstirrat @ksocha
+/types/react-stripe-elements/ @dan-j @santiagodoldan @sonnysangha @9y5 @thchia @yhnavein @virzak @remotealex @bombek92 @hirochachacha @paustint @mastacheata
/types/react-svg-inline/ @kiyopikko
/types/react-svg-pan-zoom/ @huy-nguyen
/types/react-swf/ @stepancar
/types/react-swipe/ @DeividasBakanas @AAlakkad
/types/react-swipeable-views/ @mxl @DeividasBakanas
-/types/react-swipeable-views-utils/ @eps1lon
+/types/react-swipeable-views-utils/ @eps1lon @robertnisipeanu
/types/react-syntax-highlighter/ @NoHomey @ajgamble-milner @guoyunhe @anirban09
-/types/react-table/ @ggascoigne @stramel
-/types/react-table/v6/ @royxue @psakalo @Havret @andys8 @Gelio @cpepin
+/types/react-table/ @ggascoigne @stramel @gargroh @riceboyler
+/types/react-table/v6/ @royxue @psakalo @Havret @andys8 @Gelio @cpepin @iamandrewluca
/types/react-table-filter/ @gjsln
/types/react-tabs/ @yu-i9 @danez @Equationist
/types/react-tabs-redux/ @ntnbrtnkv
-/types/react-tag-autocomplete/ @jlismore @Rahul-Sagore
+/types/react-tag-autocomplete/ @jlismore @Rahul-Sagore @MaxCilauro
/types/react-tag-input/ @Ogglas @jankarres @matthewberryman @visionsofparadise
/types/react-tagcloud/ @wassname
/types/react-tagsinput/ @mykter @chardos
/types/react-tap-event-plugin/ @mxl
-/types/react-test-renderer/ @arvitaly @lochbrunner @johnnyreilly @jgoz @Jessidhia
+/types/react-test-renderer/ @arvitaly @lochbrunner @johnnyreilly @jgoz @Jessidhia @maddhruv
/types/react-test-renderer/v15/ @arvitaly @lochbrunner @lochbrunner @johnnyreilly
/types/react-text-mask/ @guilhermehubner @cavarzan @needpower
/types/react-text-truncate/ @adriantoine
@@ -4929,6 +5114,7 @@
/types/react-treeview/ @janslow
/types/react-truncate/ @mattvperry
/types/react-twitter-auth/ @paulfasola @loginwashere
+/types/react-typing-animation/ @hmajid2301
/types/react-typist/ @shawnkoon
/types/react-ultimate-pagination/ @BenLorantfy
/types/react-user-tour/ @ccancellieri
@@ -4939,7 +5125,7 @@
/types/react-virtualized-auto-sizer/ @otofu-square
/types/react-virtualized-select/ @seansfkelley
/types/react-visibility-sensor/ @JRasmusBm @gcangussu
-/types/react-wait/ @ifiokjr
+/types/react-wait/ @ifiokjr @pwlmaciejewski
/types/react-weui/ @tairan
/types/react-widgets/ @rogierschouten @sanyatuning @frodehansen2 @r3nya @MBillemaz @georg94 @tzarger @vegtelenseg @calebergh @rmckeel @jankalfus
/types/react-widgets-moment/ @dawnmist
@@ -4969,12 +5155,12 @@
/types/readmore-js/ @AntonDemarczyk
/types/reapop/ @Barrokgl
/types/rebass/ @rhysd @ryee-dev @jamesmckenzie @gretzky @angusfretwell @orzarchi @ilaiwi
-/types/rebass__forms/ @zinozzino
+/types/rebass__forms/ @zinozzino @trumanshuck
/types/rebass__grid/ @antonvasin @vittorio @lhache @lavoaster @autoric @akameco
/types/rebind-host/ @tyler-johnson
/types/recaptcha2/ @l-jonas
/types/recase/ @18steps
-/types/recharts/ @rapmue @royxue @ZheyangSong @richbai90 @caspeco-dan @pkeuter @jrsaunde @crusectrl @apalugniok @RobertStigsson @kousaku-maron @iflp @veddermatic @g07cha @gndelia @dimitropoulos @eliotball @vkentta
+/types/recharts/ @rapmue @royxue @ZheyangSong @richbai90 @caspeco-dan @pkeuter @jrsaunde @crusectrl @apalugniok @RobertStigsson @kousaku-maron @iflp @veddermatic @g07cha @gndelia @dimitropoulos @eliotball @vkentta @fcaylus
/types/recharts-scale/ @johnnyreilly
/types/rechoir/ @BendingBender
/types/recluster/ @dex4er
@@ -4984,8 +5170,9 @@
/types/recorder-js/ @higuri
/types/recursive-readdir/ @elisee @MicahZoltu
/types/recursive-readdir/v1/ @elisee
-/types/redis/ @soywiz @CodeAnimal @MugeSo @UppaJung @Rokt33r @43081j @barnski @1pete @blablapolicja @ferrantejake @OpesanyaAdebayo
+/types/redis/ @soywiz @CodeAnimal @MugeSo @UppaJung @Rokt33r @43081j @barnski @1pete @blablapolicja @ferrantejake @OpesanyaAdebayo @nwtgck @tdebarochez
/types/redis-errors/ @43081j
+/types/redis-info/ @Yurickh
/types/redis-mock/ @BendingBender
/types/redis-rate-limiter/ @westy92 @nodify-at
/types/redis-scripto/ @westy92
@@ -5007,11 +5194,11 @@
/types/redux-devtools-log-monitor/ @mc-petry
/types/redux-doghouse/ @BendingBender
/types/redux-duck/ @cyberixae
-/types/redux-first-router/ @Valbrand @viggyfresh @janb87 @corydeppen @jscinoz @surgeboris @geirsagberg @hedgerh @adam1658
+/types/redux-first-router/ @Valbrand @viggyfresh @janb87 @corydeppen @jscinoz @surgeboris @geirsagberg @hedgerh @adam1658 @macobo
/types/redux-first-router-link/ @janb87
/types/redux-first-router-restore-scroll/ @icopp
/types/redux-first-routing/ @tlaziuk
-/types/redux-form/ @aikoven @LKay @bancek @alsiola @tehbi4 @huwmartin @m-b-davis @ethanresnick @maddijoyce @smifun @mshaaban088 @esetnik @bwlt @mrsekut @abemedia
+/types/redux-form/ @aikoven @LKay @bancek @tehbi4 @huwmartin @m-b-davis @ethanresnick @maddijoyce @smifun @mshaaban088 @esetnik @bwlt @mrsekut @abemedia
/types/redux-form/v7/ @carsonf @aikoven @LKay @bancek @alsiola @tehbi4 @huwmartin @ethanresnick @maddijoyce @smifun @mshaaban088 @esetnik
/types/redux-form/v6/ @carsonf @aikoven @LKay @bancek @mshaaban088
/types/redux-form/v5/ @reggino
@@ -5061,6 +5248,7 @@
/types/reflux/ @mauricedb @LiangZugeng
/types/reflux/v0/ @mauricedb
/types/refractor/ @ifiokjr
+/types/refresh-fetch/ @AlexLisenkov @ppbraam
/types/registry-auth-token/ @mauricedb @LiangZugeng
/types/regression/ @MattiasMartens
/types/rehype-react/ @adriankremer
@@ -5068,7 +5256,7 @@
/types/relaxed-json/ @18steps
/types/relay-compiler/ @n1ru4l @alloy
/types/relay-config/ @DefinitelyTyped
-/types/relay-runtime/ @voxmatt @alloy @ckknight @renanmav
+/types/relay-runtime/ @voxmatt @alloy @ckknight @renanmav @Stephen2 @mrtnzlml
/types/relay-test-utils/ @renanmav
/types/rellax/ @shermendev
/types/remarkable/ @makepost @chigix @bios21
@@ -5090,7 +5278,7 @@
/types/request-promise-native/ @gustavohenke @mastermatt @swashcap
/types/request-stats/ @BendingBender
/types/requestidlecallback/ @hax @VladimirGrenaderov @maxbogus @teramotodaiki
-/types/requestretry/ @EricByers @trainerbill @baaka-ani
+/types/requestretry/ @EricByers @trainerbill @baaka-ani @elch-yan
/types/require-dir/ @weekens
/types/require-directory/ @Igmat
/types/require-from-string/ @ikatyang
@@ -5151,8 +5339,6 @@
/types/rmfr/ @pluma
/types/rn-app-upgrade/ @taoqf
/types/rn-fetch-blob/ @pengcao1
-/types/roads/ @dancespiele
-/types/roads-server/ @dancespiele
/types/roarr/ @psaxton
/types/robust-point-in-polygon/ @crashspringfield
/types/rocksdb/ @MeirionHughes @danwbyrne
@@ -5170,6 +5356,7 @@
/types/rollup-plugin-sourcemaps/ @eoin-obrien
/types/rollup-plugin-url/ @me
/types/rollup-plugin-visualizer/ @fobdy @maxbogus
+/types/rollup__plugin-virtual/ @ahum
/types/roman-numerals/ @pluma
/types/ronomon__crypto-async/ @BendingBender
/types/rosie/ @abner @subvertallchris @abukurov @adam187
@@ -5180,7 +5367,7 @@
/types/rox-node/ @g-guirado
/types/rox-react-native/ @ahanriat @g-guirado @glenna
/types/royalslider/ @csrakowski @sKopheK
-/types/rpio/ @DominikPalo @Pencl
+/types/rpio/ @DominikPalo @Pencl @mhoffmeyerDC
/types/rrc/ @DeividasBakanas
/types/rsmq-worker/ @MugeSo
/types/rsocket-core/ @adrianhopebailie @olegdokuka
@@ -5195,6 +5382,7 @@
/types/rsync/ @philippstucki
/types/rtl-detect/ @imprevo
/types/rtlcss/ @adamzerella
+/types/rtp-parser/ @matthew-smith
/types/rtree/ @oefirouz
/types/run-parallel/ @mrmlnc
/types/run-parallel-limit/ @mrmlnc
@@ -5225,6 +5413,7 @@
/types/safe-compare/ @bevalorous
/types/safe-json-stringify/ @ericbyers
/types/safe-regex/ @mhegazy
+/types/safe-timers/ @ksocha
/types/safer-buffer/ @ffflorian
/types/sails.io.js/ @arvitaly
/types/sailthru-client/ @smolnikov
@@ -5252,13 +5441,16 @@
/types/sat/ @omni360
/types/satnav/ @DotNetNerd
/types/save-csv/ @FrankBrullo
-/types/sax/ @vsiao @evert @djcsdy
+/types/sax/ @vsiao @evert @djcsdy @fvanderveen
+/types/sax-stream/ @mjwwit
/types/saywhen/ @SeanSobey
/types/sbd/ @thatcort @carolineartz
/types/sc-auth/ @DanielRose
/types/sc-broker/ @DanielRose
/types/sc-broker-cluster/ @DanielRose
+/types/sc-broker-cluster/v6/ @DanielRose
/types/sc-channel/ @DanielRose
+/types/sc-channel/v1/ @DanielRose
/types/sc-errors/ @DanielRose
/types/sc-framework-health-check/ @DanielRose
/types/sc-hot-reboot/ @DanielRose
@@ -5269,6 +5461,7 @@
/types/schema-registry/ @bonzzy
/types/schwifty/ @ozum
/types/scoped-http-client/ @mattvperry @rianadon
+/types/scrambo/ @padarom
/types/screeps/ @MarkoSulamagi @NhanHo @bryanbecker @resir014 @Arcath @dmarcuse @pyrodogg @kotarou
/types/screeps-profiler/ @ramblurr
/types/script-ext-html-webpack-plugin/ @davecardwell
@@ -5276,6 +5469,7 @@
/types/scroll/ @romic
/types/scroll-into-view/ @zivni @Thibaut-Fatus
/types/scroll-to-element/ @kirillurgant
+/types/scrollbooster/ @chrisneven
/types/scroller/ @haskellcamargo
/types/scrollparent/ @Sintifo
/types/scrollreveal/ @Davidblkx
@@ -5303,7 +5497,7 @@
/types/selectables/ @renjfk
/types/selectize/ @adidahiya @naBausch
/types/selenium-standalone/ @SanderDeWaal1992
-/types/selenium-webdriver/ @BillArmstrong @Kuniwak @cnishina @SupernaviX @bendxn @oddui @beta-vulgaris @Dzenly @thislooksfun
+/types/selenium-webdriver/ @BillArmstrong @Kuniwak @cnishina @SupernaviX @bendxn @oddui @beta-vulgaris @Dzenly
/types/selenium-webdriver/v3/ @BillArmstrong @Kuniwak @cnishina @SupernaviX @bendxn @oddui
/types/selenium-webdriver/v2/ @BillArmstrong @Kuniwak @cnishina
/types/semantic-release/ @lgaticaq @djcsdy
@@ -5330,8 +5524,11 @@
/types/semantic-ui-visibility/ @leonard-thieu
/types/semaphore/ @mhfrantz @Alorel
/types/semver/ @Bartvds @BendingBender @LucianBuzzo @ajafff @ExE-Boss
+/types/semver/v6/ @Bartvds @BendingBender @LucianBuzzo @ajafff @ExE-Boss
/types/semver-compare/ @vincekovacs @LinusU
/types/semver-sort/ @LogvinovLeon
+/types/semver-stable/ @JamieMagee
+/types/semver-utils/ @JamieMagee
/types/sencha_touch/ @brian428
/types/send/ @MikeJerred
/types/sendmail/ @saostad
@@ -5344,7 +5541,8 @@
/types/sequencify/ @npenin
/types/sequester/ @Strate
/types/serialize-javascript/ @lith-light-g @Pochodaydayup
-/types/serialport/ @codefoster @apearson @cinderblock
+/types/serialport/ @codefoster @apearson @cinderblock @doug-a-brunner
+/types/serialport/v7/ @codefoster @apearson @cinderblock
/types/serialport/v6/ @codefoster @apearson
/types/serialport/v4/ @codefoster
/types/serve-favicon/ @urossmolnik
@@ -5354,9 +5552,11 @@
/types/server/ @sant123 @iddan @DazSanchez
/types/server-destroy/ @gyszalai
/types/serverless/ @hassankhan @JonathanWilbur @a-pavlenko
+/types/serverless-jest-plugin/ @Gaelan
/types/service-worker-mock/ @remcohaszing
/types/servicenow/ @bryceg
/types/servicenow-london/ @johncaruso @bryceg @grgisme @emyrold @thisnameissoclever @ayeboah
+/types/serviceworker-webpack-plugin/ @remcohaszing
/types/session-file-store/ @blendsdk @rokt33r
/types/set-cookie-parser/ @nickp10 @ilyaztsv
/types/set-interval-async/ @ealmansi
@@ -5374,9 +5574,9 @@
/types/shallowequal/ @seansfkelley @BendingBender @arndissler
/types/shallowequal/v0/ @seansfkelley
/types/shapefile/ @DenisCarriere @Thw0rted
-/types/sharedb/ @soney @ericyhwang
+/types/sharedb/ @soney @ericyhwang @pxpeterxu
/types/sharedworker/ @nakakura @mboughaba
-/types/sharepoint/ @gandjustas @andrei-markeev @baywet @teroarvola @dennispg @SPWizard01
+/types/sharepoint/ @gandjustas @andrei-markeev @teroarvola @dennispg @SPWizard01 @betlgtu
/types/sharp/ @lith-light-g @wooseopkim @BTOdell @JamieWoodbury @Fdebijl
/types/shasum/ @TeamworkGuy2
/types/shebang-command/ @BendingBender
@@ -5385,6 +5585,7 @@
/types/shell-quote/ @jason0x43 @CameronDiver
/types/shelljs/ @nikeee @voy @gkalpak @pheromonez @aldafu @ExE-Boss @msanguineti
/types/shelljs-exec-proxy/ @qlonik
+/types/shevyjs/ @nonAlgebraic
/types/shimmer/ @kjin
/types/shipit-cli/ @cyrilschumacher
/types/shipit-utils/ @cyrilschumacher
@@ -5416,6 +5617,7 @@
/types/simpl-schema/ @arichter83 @Qkramer @deskoh @nicu-chiciuc
/types/simple-assign/ @NoHomey
/types/simple-cw-node/ @vvakame
+/types/simple-icons/ @ericcornelissen
/types/simple-lru/ @NN---
/types/simple-mock/ @leonyu
/types/simple-oauth2/ @mad-mike @troy-lamerton @netux @LinusU
@@ -5425,12 +5627,14 @@
/types/simple-url-cache/ @a-lucas
/types/simple-websocket/ @dex4er
/types/simple-xml/ @notVitaliy
-/types/simplebar/ @gregonnet @leonard-thieu
+/types/simplebar/ @val-o @gregonnet @leonard-thieu
+/types/simplebar/v2/ @gregonnet @leonard-thieu
/types/simplebar/v1/ @gregonnet @leonard-thieu
/types/simplecrawler/ @MutterPedro
/types/simplemde/ @Scalesoft
/types/simplesmtp/ @rogierschouten
/types/simplestorage.js/ @axelcostaspena @mxl
+/types/simulant/ @ecraig12345
/types/single-line-log/ @ffflorian
/types/single-spa-react/ @Garrett-Smith-iq @chrisdopuch
/types/sinon/ @mrbigdog2u @rationull @lumaxis @nicojs @43081j @joshuakgoldberg @gjednaszewski @johnjesse @alecf @SimonSchick @bergundy
@@ -5442,11 +5646,13 @@
/types/sinon-mongoose/ @stevehipwell
/types/sinon-stub-promise/ @vintem @tstackhouse
/types/sinon-test/ @mummybot
+/types/sinonjs__fake-timers/ @Nemo157 @joshuakgoldberg @rogierschouten @zyishai @remcohaszing
/types/sipml/ @chookies
/types/sitemap2/ @shundy
/types/six-runtime/ @493636333
+/types/sizeof/ @unindented
/types/sizzle/ @leonard-thieu
-/types/sjcl/ @Evgenus
+/types/sjcl/ @Evgenus @mizvyt
/types/skatejs/ @Hotell
/types/sketchapp/ @manekinekko @shikanime
/types/ski/ @AyaMorisawa
@@ -5472,12 +5678,14 @@
/types/slocket/ @BendingBender
/types/slonik/ @sebald @mmkal
/types/slug/ @mhegazy
+/types/sm-crypto/ @Moonisky
/types/smart-fox-server/ @ChanceM
/types/smart-truncate/ @oyalhi
/types/smartwizard/ @stankurek
/types/smooth-scroll/ @andreiho @grgr-dkrk
/types/smoothscroll-polyfill/ @kryops
/types/smpte-timecode/ @hados99
+/types/smshelper/ @matthiez
/types/smtp-server/ @markisme @Taisiias @dex4er
/types/smtp-server/v1/ @markisme @Taisiias
/types/smtpapi/ @a-morales
@@ -5501,6 +5709,7 @@
/types/socketcluster/ @DanielRose
/types/socketcluster-client/ @DanielRose
/types/socketcluster-server/ @DanielRose
+/types/socketcluster-server/v14/ @DanielRose
/types/socketio-jwt/ @ehallander9591
/types/socketio-jwt-auth/ @codeanimal
/types/socketio-wildcard/ @BendingBender
@@ -5516,6 +5725,7 @@
/types/sort-array/ @mrmlnc
/types/sort-object-keys/ @forivall
/types/sortablejs/ @Maw-Fox @maartenstaa @waynevanson
+/types/sorted-object/ @Richienb
/types/sortobject/ @SanderDeWaal1992
/types/soundmanager2/ @elton2048
/types/soupbintcp/ @jewbre
@@ -5544,7 +5754,7 @@
/types/splitpanes/ @noonhorse
/types/splunk-bunyan-logger/ @bricka
/types/splunk-logging/ @bricka
-/types/spotify-api/ @skovmand @Stadly
+/types/spotify-api/ @skovmand @Stadly @piksel
/types/spotify-node-applescript/ @panz3r
/types/spotify-web-api-node/ @Stadly
/types/spotify-web-playback-sdk/ @Festify @mraerino @NeoLegends @deini @hanna-becker
@@ -5566,7 +5776,7 @@
/types/ssdeep/ @atd-schubert
/types/ssh-key-decrypt/ @BendingBender
/types/ssh2/ @tkQubo @rbuckton @wrboyce @lucasmotta
-/types/ssh2-sftp-client/ @igrayson @ascariandrea @kartik2406 @viamuli @orblazer @gbhmt @builtbylane @loru88
+/types/ssh2-sftp-client/ @igrayson @ascariandrea @kartik2406 @viamuli @orblazer @gbhmt @builtbylane @loru88 @sgalizia
/types/ssh2-streams/ @rbuckton
/types/sshpk/ @mabels
/types/ssri/ @huan086 @ExE-Boss
@@ -5578,8 +5788,10 @@
/types/stampit/v3/ @koresar @lummish
/types/stampit/v2/ @koresar
/types/stamplay-js-sdk/ @ridermansb
+/types/standard-engine/ @peterblazejewicz
/types/standard-error/ @roblabat
/types/standard-http-error/ @roblabat
+/types/standard-version/ @JasonHK
/types/starwars-names/ @claasahl
/types/stat-mode/ @BendingBender
/types/staticmaps/ @olivierkamers
@@ -5602,20 +5814,20 @@
/types/stompit/ @DanielRose
/types/stompjs/ @jimic @Dr4k4n
/types/stoppable/ @EricByers @jplusje
+/types/stopword/ @ricosandyca
/types/storage-helper/ @ajafff
/types/store/ @vbortone @harry0000 @Ky6uk @igl00 @JasonHK
/types/storybook-addon-jsx/ @jameslnewell
/types/storybook-react-router/ @alexlomm
/types/storybook-readme/ @lonyele
/types/storybook__addon-info/ @mkornblum @fyrkant @RunningCoderLee
-/types/storybook__addon-storyshots/ @bradleyayers @Yama-Tomo
-/types/storybook__addon-storyshots-puppeteer/ @Yama-Tomo
/types/storybook__polymer/ @joscha @wapgear @dandean @ryuhhnn
/types/strange/ @wanganjun
/types/stream-array/ @Tyler-Murphy
/types/stream-buffers/ @Jason3S
/types/stream-chain/ @uhop
/types/stream-csv-as-json/ @uhop
+/types/stream-demux/ @DanielRose
/types/stream-each/ @djcsdy
/types/stream-fork/ @mjwwit
/types/stream-json/ @uhop
@@ -5646,10 +5858,10 @@
/types/string_score/ @marcinporebski
/types/stringify-object/ @khoomeister
/types/strip-color/ @BendingBender
-/types/stripe/ @wjohnsto @codeanimal @sampsonjoliver @LinusU @brannon @kkamperschroer @starhoshi @bruun @galtalmor @htunnicliff @squirly @tzarger @yultyyev @cpsoinos @adamduren @saranshkataria @0xJoKe @delianides @gokulchandra @viralpickaxe @chrisleck @opticalgenesis @spacetag @vaskevich @dhaspden @esetnik @schfkt @ChrisZieba @pushplay @stilborg @jvik @richardwardza @Aseelaldallal @collin-pham @TimonVS @kamiyo
+/types/stripe/ @wjohnsto @codeanimal @sampsonjoliver @LinusU @brannon @kkamperschroer @starhoshi @galtalmor @htunnicliff @squirly @tzarger @yultyyev @cpsoinos @adamduren @saranshkataria @0xJoKe @delianides @gokulchandra @viralpickaxe @chrisleck @opticalgenesis @spacetag @vaskevich @dhaspden @esetnik @schfkt @ChrisZieba @pushplay @stilborg @jvik @richardwardza @Aseelaldallal @collin-pham @TimonVS @kamiyo
/types/stripe-checkout/ @cgwrench
/types/stripe-v2/ @ejsmith @amritk @adamcmiel @jleider @galuszkak
-/types/stripe-v3/ @ejsmith @amritk @adamcmiel @jleider @galuszkak @slangeder @marlosin @ttmarek @kimehrenpohl @KrishnaPravin @hirochachacha
+/types/stripe-v3/ @ejsmith @amritk @adamcmiel @jleider @galuszkak @slangeder @marlosin @ttmarek @kimehrenpohl @KrishnaPravin @hirochachacha @paustint @ksol @matsuby
/types/stripejs/ @RobinvanTienhoven @mattferderer
/types/strman/ @adambrgmn
/types/strong-cluster-control/ @shuntksh
@@ -5661,12 +5873,13 @@
/types/struct/ @benallfree
/types/structured-source/ @azu
/types/stubby/ @dex4er
-/types/styled-components/ @Igorbek @Igmat @lavoaster @Jessidhia @jkillian @eps1lon @flavordaaave @wagerfield @Lazyuki
+/types/style-search/ @peterblazejewicz
+/types/styled-components/ @Igorbek @Igmat @lavoaster @Jessidhia @jkillian @eps1lon @flavordaaave @wagerfield @Lazyuki @mgoszcz2
/types/styled-components/v3/ @Igorbek @Igmat
/types/styled-jsx/ @R1ZZU
/types/styled-react-modal/ @Lavoaster @gperl27
-/types/styled-system/ @maxdeviant @phobon @zephraph @damassi @alloy @maoueh @lavoaster @jschuler @adam187 @gretzky @chrislopresto @peduarte @Dhalton @elliotbonneville @jackcaldwell @eliseumds @craga89 @HipsterBrown
-/types/styled-system__css/ @sebald @sztobar
+/types/styled-system/ @phobon @zephraph @damassi @alloy @maoueh @lavoaster @jschuler @adam187 @gretzky @chrislopresto @peduarte @Dhalton @elliotbonneville @jackcaldwell @eliseumds @craga89 @HipsterBrown @hammadj @maddhruv @cherewaty
+/types/styled-system__css/ @sebald @sztobar @RyanTheAllmighty
/types/styled-system__should-forward-prop/ @tpict
/types/styled-system__theme-get/ @Jerry-Hong
/types/styled-theming/ @ArjanJ @hieuhlc @tinynumbers
@@ -5693,6 +5906,7 @@
/types/superagent-bunyan/ @bricka
/types/superagent-no-cache/ @mxl
/types/superagent-prefix/ @mxl
+/types/superagent-proxy/ @dwieeb
/types/supercluster/ @DenisCarriere @Manc
/types/supertest/ @varju @pietu
/types/supertest-as-promised/ @tkrotoff
@@ -5709,7 +5923,7 @@
/types/svg4everybody/ @BendingBender @bryceosterhaus
/types/svgjs.draggable/ @LiFeleSs
/types/svgjs.resize/ @jkevingutierrez
-/types/svgo/ @bradleyayers @giladgray @Aankhen @jankarres @gavingregory
+/types/svgo/ @bradleyayers @giladgray @Aankhen @jankarres @gavingregory @peterblazejewicz
/types/svgr__rollup/ @fobdy @maxbogus
/types/sw-precache/ @JounQin
/types/sw-precache-webpack-plugin/ @JounQin
@@ -5723,10 +5937,11 @@
/types/swagger-restify-mw/ @micmro
/types/swagger-sails-hook/ @micmro
/types/swagger-schema-official/ @mohsen1 @bsouthga @nimerritt @mauriedo @XVincentX
+/types/swagger-stats/ @connorjayfitzgerald
/types/swagger-tools/ @bricka
/types/swagger-ui-dist/ @haowen737 @brycematheson1234
/types/swagger-ui-express/ @dmitryrogozhny @ffflorian
-/types/swagger-ui-react/ @VictoriaGreen93
+/types/swagger-ui-react/ @VictoriaGreen93 @fernando-msj
/types/swaggerize-express/ @mugeso @nickmorton
/types/swe-validation/ @hjalmers
/types/swfobject/ @rou
@@ -5743,6 +5958,7 @@
/types/sybase-promised/ @sergey12313
/types/sylvester/ @StephaneAlie
/types/sylvester-es6/ @briwa @StephaneAlie
+/types/symbol-tree/ @ExE-Boss
/types/symlink-or-copy/ @BendingBender
/types/synaptic/ @ToastHawaii @austincummings
/types/syntax-error/ @TeamworkGuy2
@@ -5755,20 +5971,21 @@
/types/tableau/ @protip
/types/tableify/ @forivall
/types/tablesorter/ @manuth
-/types/tabtab/ @vojtechhabarta @kamontat
+/types/tabtab/ @vojtechhabarta @kamontat @ExE-Boss
/types/tabulator/ @euginio
/types/tabulator-tables/ @jojoshua
/types/tail/ @spacejack @devindavies
/types/tampermonkey/ @silverwzw @nikolay-borzov
/types/tapable/ @e-cloud @johnnyreilly
/types/tapable/v0/ @e-cloud
-/types/tape/ @Bartvds @sodatea @DennisSchwartz @mikehenrty @rostrowski
+/types/tape/ @Bartvds @sodatea @DennisSchwartz @mikehenrty @rostrowski @ljharb
/types/tape-async/ @ExE-Boss
/types/tape-catch/ @ExE-Boss
/types/tape-promise/ @ExE-Boss
/types/tar/ @SomaticIT @connor4312
/types/tar-fs/ @Umoxfo
-/types/tar-stream/ @glicht
+/types/tar-stream/ @glicht @peterblazejewicz
+/types/tar-stream/v1/ @glicht
/types/tarantool-driver/ @zharkov-eu
/types/targz/ @alexandercurtis
/types/task-graph-runner/ @mgroenhoff
@@ -5785,10 +6002,12 @@
/types/terminal-menu/ @aravindarun
/types/tern/ @nkappler
/types/terser-webpack-plugin/ @Danscho
+/types/teslajs/ @fcastilloec
/types/test-console/ @roberto @guidoux @gbmoretti
/types/test-listen/ @stephenmathieson
/types/testing-library__cypress/ @aaronmcadam @bastibuck @NoriSte @wKovacs64 @existentialism @airato @simjes
/types/testing-library__dom/ @alexkrolick @kentcdodds @eps1lon @weyert @reyronald @wKovacs64 @wezleytsai
+/types/testing-library__jest-dom/ @gnapse @jgoz @smacpherson64
/types/testing-library__react/ @alexkrolick @kentcdodds @eps1lon @weyert @ifiokjr @danieljcafonso
/types/testing-library__react-hooks/ @mpeyper @sarahdayan
/types/testing-library__user-event/ @whtsky @weyert
@@ -5807,8 +6026,8 @@
/types/textversionjs/ @aaronosher
/types/texzilla/ @m93a
/types/tgfancy/ @Dabolus
-/types/theme-ui/ @erikdstock @ifiokjr @sbardian @pomber @wKovacs64 @prateekkathal
-/types/theme-ui__components/ @hasparus
+/types/theme-ui/ @erikdstock @ifiokjr @sbardian @pomber @wKovacs64 @prateekkathal @hasparus
+/types/theme-ui__components/ @hasparus @kripod
/types/then-eos/ @seangenabe
/types/theo/ @petekp @laitine
/types/thepiratebay/ @jsorrell
@@ -5856,6 +6075,8 @@
/types/to-json-schema/ @forivall
/types/to-markdown/ @SuperPaintman
/types/to-snake-case/ @LogvinovLeon
+/types/to-space-case/ @Richienb
+/types/to-title-case/ @Richienb
/types/to-title-case-gouch/ @stpettersens
/types/toastr/ @borisyankov
/types/tocktimer/ @evanshortiss
@@ -5913,11 +6134,11 @@
/types/turndown/ @sergey-zhidkov
/types/tus-js-client/ @kevhiggins @Acconut
/types/tv4/ @Bartvds @psnider
-/types/tween.js/ @Amos47 @sunetos @jzarnikov @alexburner
+/types/tween.js/ @Amos47 @sunetos @jzarnikov @alexburner @olafurkarl
/types/tweenjs/ @evilangelist @jcyuan
/types/tweezer.js/ @praxxis
/types/twemoji/ @coderbyheart
-/types/twig/ @soywiz @enko @mtizziani
+/types/twig/ @soywiz @enko @mtizziani @dmelcer9
/types/twilio/ @nickiannone @ashleybrener @CatGuardian
/types/twilio-common/ @gatimus
/types/twilio-video/ @minddocdev @darioblanco @ktsn @ben8p @nifled
@@ -5942,6 +6163,7 @@
/types/typography-breakpoint-constants/ @goblindegook
/types/typpy/ @BendingBender
/types/tz-format/ @samverschueren
+/types/tz-lookup/ @uwinkelvos
/types/tz-offset/ @RMHonor
/types/ua-parser-js/ @superduper @legendecas @MeLlamoPablo
/types/uglify-es/ @alan-agius4
@@ -5951,11 +6173,12 @@
/types/uglifyjs-webpack-plugin/ @vajkayrene
/types/ui-grid/ @btesser @joeskeen @pbojanczyk
/types/ui-router-extras/ @mputters @marcel-k @LaserUnicorns
-/types/ui-select/ @nkovacic
+/types/ui-select/ @nkovacic @akwiatek
/types/uid-generator/ @TheEmrio @kylechine
/types/uid-safe/ @geoffreak
/types/uid2/ @levibostian
-/types/uikit/ @giovannicandido @s0x
+/types/uikit/ @giovannicandido @s0x @pcdotfan
+/types/uikit/v2/ @giovannicandido @s0x
/types/uinput/ @Fidge123
/types/uint32/ @ffflorian
/types/ultra-strftime/ @dex4er
@@ -5982,20 +6205,22 @@
/types/unity-webapi/ @jmvrbanac
/types/universal-analytics/ @Bartvds @DarkerTV
/types/universal-cookie/ @tomi
+/types/universalify/ @Richienb
/types/unl-core/ @u-n-l
/types/unorm/ @chbrown
/types/unsplash-js/ @markupcode
/types/unused-files-webpack-plugin/ @VladimirGrenaderov @maxbogus
/types/unzip/ @coding2012
/types/unzipper/ @s73obrien @natemara @bartje321 @kenhuman
-/types/update-notifier/ @vvakame @nchen63 @bitjson @grinich
+/types/update-notifier/ @vvakame @nchen63 @bitjson @grinich @peterblazejewicz
+/types/update-notifier/v2/ @vvakame @nchen63 @bitjson @grinich
/types/update-notifier/v1/ @vvakame @nchen63
/types/uploadcare/ @jineshshah36
/types/upng-js/ @plantain-00 @pineapplemachine
/types/uppercamelcase/ @plantain-00
/types/urbanairship-cordova/ @Justin-Credible
/types/uri-templates/ @Bartvds @barnski
-/types/urijs/ @RodneyJT @xt0rted @petejohanson @ljqx @teamworkguy2 @Akuukis
+/types/urijs/ @RodneyJT @xt0rted @petejohanson @ljqx @teamworkguy2 @Akuukis @marcelltoth
/types/uritemplate/ @teyc @rubensworks
/types/urix/ @BendingBender
/types/url-assembler/ @wolfgang42
@@ -6031,11 +6256,13 @@
/types/utf8/ @zelein
/types/utif/ @smajl @nkprince007 @massic80
/types/util-deprecate/ @BendingBender
-/types/util.promisify/ @adamvoss @dex4er
+/types/util.promisify/ @adamvoss @dex4er @ExE-Boss @ljharb
/types/utils-merge/ @chrootsu
/types/utm/ @civilizeddev @JonasTriki
-/types/uuid/ @iamolivinius @felipeochoa @cjbarth @rauno56
+/types/uuid/ @iamolivinius @felipeochoa @cjbarth @rauno56 @LinusU @ctavan
+/types/uuid/v3/ @iamolivinius @felipeochoa @cjbarth @rauno56 @LinusU
/types/uuid-1345/ @mugeso
+/types/uuid-apikey/ @benallfree
/types/uuid-js/ @mhegazy
/types/uuid-parse/ @screendriver
/types/uuid-validate/ @HiromiShikata
@@ -6059,6 +6286,7 @@
/types/vary/ @BendingBender
/types/vast-client/ @jgainfort @kobawan
/types/vault-auth-aws/ @nmcginn
+/types/vcards-js/ @benallfree
/types/vcf/ @mcpar-land
/types/vec2/ @Nielio
/types/vec3/ @xstoudi
@@ -6091,9 +6319,10 @@
/types/vision/ @jasonswearingen @AJamesPhillips @lenovouser
/types/vision/v4/ @jasonswearingen @AJamesPhillips
/types/vitalsigns/ @cyrilschumacher
-/types/vivus/ @DanielRosenwasser @lekhmanrus
+/types/vivus/ @DanielRosenwasser @lekhmanrus @shuta13
/types/vkbeautify/ @sch3lp
/types/vmap/ @jgainfort
+/types/vndb/ @PragunSaini
/types/vnu-jar/ @Umoxfo
/types/voca/ @pine
/types/void-elements/ @ajafff
@@ -6109,6 +6338,7 @@
/types/vue-clickaway/ @khoanguyen96
/types/vue-color/ @mildful
/types/vue-datetime/ @olavorn
+/types/vue-feather-icons/ @potato4d
/types/vue-ls/ @someone1 @lexasss
/types/vue-markdown/ @neodon
/types/vue-moment/ @domschmidt
@@ -6126,6 +6356,7 @@
/types/w3c-image-capture/ @cosium
/types/w3c-screen-orientation/ @kenchris
/types/w3c-web-usb/ @larsgk @thegecko
+/types/w3c-xmlserializer/ @ExE-Boss
/types/wait-on/ @ifiokjr
/types/wait-promise/ @paulmelnikow
/types/waitme/ @totpero
@@ -6137,7 +6368,7 @@
/types/wanakana/ @chooban
/types/warning/ @cvle
/types/watch/ @soywiz @Perlmint
-/types/watchify/ @TeamworkGuy2
+/types/watchify/ @TeamworkGuy2 @peterblazejewicz
/types/watchpack/ @e-cloud
/types/waterline/ @arvitaly
/types/wav/ @MasterOdin
@@ -6150,7 +6381,7 @@
/types/weak-napi/ @lamhieu-vk
/types/weapp-api/ @vargeek @pbestz
/types/web-animations-js/ @kritollm
-/types/web-bluetooth/ @urish
+/types/web-bluetooth/ @urish @thegecko
/types/web-push/ @paullessing
/types/web-resource-inliner/ @BendingBender
/types/web3-provider-engine/ @LogvinovLeon
@@ -6165,8 +6396,8 @@
/types/webicon/ @manuth
/types/webidl-conversions/ @ExE-Boss
/types/webidl2/ @saschanaz
-/types/webmidi/ @lostfictions
-/types/webpack/ @tkqubo @bumbleblym @bcherny @tommytroylin @mohsen1 @jcreamer898 @alan-agius4 @elliottsj @jason0x43 @dennispg @christophehurpeau @ZSkycat @johnnyreilly @rwaskiewicz @kuehlein @grgur @rubenspgcavalcante @andersk @ofhouse
+/types/webmidi/ @DefinitelyTyped
+/types/webpack/ @tkqubo @bumbleblym @bcherny @tommytroylin @mohsen1 @jcreamer898 @alan-agius4 @elliottsj @jason0x43 @dennispg @christophehurpeau @ZSkycat @johnnyreilly @rwaskiewicz @kuehlein @grgur @rubenspgcavalcante @andersk @ofhouse @danielthank
/types/webpack/v3/ @tkqubo @bumbleblym @bcherny @tommytroylin @mohsen1 @jcreamer898 @alan-agius4 @elliottsj @jason0x43 @christophehurpeau @rwaskiewicz @kuehlein
/types/webpack-assets-manifest/ @FranklinWhale
/types/webpack-blocks/ @maxbogus
@@ -6184,19 +6415,22 @@
/types/webpack-bundle-analyzer/ @kryops @VladimirGrenaderov @maxbogus
/types/webpack-chunk-hash/ @mtraynham
/types/webpack-cleanup-plugin/ @malj
+/types/webpack-concat-plugin/ @peterblazejewicz
/types/webpack-config-utils/ @hotell
-/types/webpack-dev-middleware/ @bumbleblym @reduckted @chrisabrams
+/types/webpack-dev-middleware/ @bumbleblym @reduckted @chrisabrams @peterblazejewicz
+/types/webpack-dev-middleware/v2/ @bumbleblym @reduckted @chrisabrams
/types/webpack-dev-middleware/v1/ @bumbleblym @reduckted
-/types/webpack-dev-server/ @maestroh @daveparslow @ZheyangSong @alan-agius4 @arturovt @davecardwell @dobogo @billy-le @chrispaterson
+/types/webpack-dev-server/ @maestroh @daveparslow @ZheyangSong @alan-agius4 @arturovt @davecardwell @dobogo @billy-le @chrispaterson @peterblazejewicz
/types/webpack-dotenv-plugin/ @kryops
/types/webpack-env/ @use-strict @rhonsby
+/types/webpack-error-notification/ @peterblazejewicz
/types/webpack-fail-plugin/ @deevus
-/types/webpack-hot-client/ @rynclark @ZSkycat
+/types/webpack-hot-client/ @rynclark @ZSkycat @barm
/types/webpack-hot-middleware/ @bumbleblym @icylace @chrisabrams @iliyaZelenko
/types/webpack-manifest-plugin/ @r3nya @monsonjeremy
/types/webpack-merge/ @deevus @mtraynham
/types/webpack-merge/v0/ @deevus
-/types/webpack-node-externals/ @mtraynham @MrSpoocy
+/types/webpack-node-externals/ @mtraynham @MrSpoocy @peterblazejewicz
/types/webpack-notifier/ @bumbleblym
/types/webpack-plugin-serve/ @PlayMa256
/types/webpack-serve/ @rynclark @Jokcy @ZSkycat
@@ -6224,7 +6458,7 @@
/types/weighted/ @ccitro
/types/weighted-random-object/ @mlc
/types/weixin-app/ @taoqf @AlexStacker @Jimexist
-/types/wellknown/ @yairtawil
+/types/wellknown/ @davodesign84 @yairtawil
/types/wepy/ @Jimexist
/types/wepy-redux/ @Jimexist
/types/whatwg-mimetype/ @petejohanson
@@ -6254,12 +6488,13 @@
/types/winreg/ @RX14 @BobBuehler
/types/winrt-uwp/ @saschanaz @taylor224
/types/winston-dynamodb/ @nickiannone
+/types/winston-loggly-bulk/ @SimchaWood
/types/winston-mail/ @idono87
/types/winston-syslog/ @cjbarth @felix-hoc
/types/winston-syslog/v1/ @cjbarth
/types/wiring-pi/ @NoHomey
/types/wix-style-react/ @giladsegal
-/types/wnumb/ @acoreyj
+/types/wnumb/ @acoreyj @eikooc
/types/wonder.js/ @yyc-git
/types/word-extractor/ @saboya
/types/word2vector/ @renekeijzer
@@ -6311,6 +6546,7 @@
/types/wordwrap/ @ark120202
/types/workbox-background-sync/ @JasonHK
/types/workbox-broadcast-update/ @JasonHK
+/types/workbox-build/ @prichey
/types/workbox-cacheable-response/ @JasonHK
/types/workbox-core/ @JasonHK
/types/workbox-expiration/ @JasonHK
@@ -6335,10 +6571,11 @@
/types/wreck/ @marcinporebski @saboya
/types/wreck/v7/ @marcinporebski
/types/wrench/ @soywiz
+/types/writable-consumable-stream/ @DanielRose
/types/write/ @yoursunny
/types/write-file-atomic/ @BendingBender @jayrylan
/types/write-file-atomically/ @Aankhen
-/types/ws/ @loyd @elithrar @mlamp @TitaneBoy @orblazer @reduckted
+/types/ws/ @loyd @elithrar @mlamp @TitaneBoy @orblazer @reduckted @teidesu @wojtkowiak
/types/wtfnode/ @dex4er
/types/wu/ @phiresky
/types/wx-js-sdk-dt/ @agasbzj @forzoom
@@ -6346,6 +6583,7 @@
/types/x-editable/ @sirkirby
/types/x-ray/ @mtraynham
/types/x-ray-crawler/ @mtraynham
+/types/x509.js/ @Moser-ss
/types/xdate/ @yamada28go
/types/xml/ @YuJianrong
/types/xml-c14n/ @gallowsmaker @maxbogus
@@ -6363,6 +6601,7 @@
/types/xmltojson/ @traviscrowe
/types/xmpp__jid/ @PJakcson @BendingBender
/types/xmpp__xml/ @BendingBender
+/types/xo/ @peterblazejewicz
/types/xregexp/ @Bartvds @jfahrenkrug @sigo
/types/xrm/ @6ix4our @mattngan @markusmauch @daryllabar @clownwilleatme @scottdurow
/types/xrm/v8/ @6ix4our @mattngan @markusmauch @daryllabar @clownwilleatme @mariusagur
@@ -6370,6 +6609,7 @@
/types/xsd-schema-validator/ @Goldsmith42
/types/xsockets/ @pushplay
/types/xstyled__system/ @stevejay
+/types/xumm-api/ @WietseWind
/types/xxhashjs/ @mDibyo @Manc
/types/y18n/ @adamzerella
/types/yadda/ @dex4er
@@ -6378,7 +6618,8 @@
/types/yandex-maps/ @Delagen @gastwork13
/types/yandex-money-sdk/ @chrootsu
/types/yar/ @SimonSchick
-/types/yargs/ @poelstra @mizunashi-mana @pushplay @jeffkenney @JimiC @steffenvv @forivall @ExE-Boss
+/types/yargs/ @poelstra @mizunashi-mana @pushplay @jeffkenney @JimiC @steffenvv @forivall @ExE-Boss @Aankhen
+/types/yargs/v13/ @poelstra @mizunashi-mana @pushplay @jeffkenney @JimiC @steffenvv @forivall @ExE-Boss
/types/yargs/v12/ @poelstra @mizunashi-mana @pushplay @jeffkenney @JimiC @steffenvv @forivall @ExE-Boss
/types/yargs/v11/ @poelstra @mizunashi-mana @pushplay @jeffkenney @JimiC @ExE-Boss
/types/yargs/v10/ @poelstra @mizunashi-mana @pushplay @jeffkenney @JimiC @ExE-Boss
@@ -6389,6 +6630,7 @@
/types/yarnpkg__lockfile/ @fa93hws
/types/yauzl/ @ffflorian
/types/yauzl-promise/ @dlee-nvisia
+/types/yawn-yaml/ @JamieMagee
/types/yayson/ @Codesleuth
/types/yazl/ @taoqf @seangenabe
/types/ydn-db/ @yathit @gabrielmaldi
@@ -6424,6 +6666,7 @@
/types/zeroclipboard/v1/ @ejsmith @niemyjski @balassy @leonyu
/types/zeromq/ @davemckeown @erikma @TitaneBoy
/types/zfont/ @demensky
+/types/zingchart/ @mike-schultz
/types/zip-webpack-plugin/ @blaise-io
/types/zip.js/ @lgrignon
/types/zipcelx/ @aleburato
diff --git a/README.es.md b/README.es.md
index 3fa7b50d122d604..8aea340584f8c5f 100644
--- a/README.es.md
+++ b/README.es.md
@@ -32,14 +32,44 @@ Si aún no puedes encontrarlo, comprueba si el paquete ya [incluye](http://www.t
Esto es provisto usualmente en el campo `"types"` o `"typings"` en el `package.json`,
o solo busca por cualquier archivo ".d.ts" en el paquete e inclúyelo manualmente con un `/// `.
+#### Versiones más viejas de Typescript (2.7 y anteriores)
+
+Definitely Typed solamente prueba paquetes en versiones de TypeScript que son menores a 2 años.
+Actualmente, las versiones 2.8 y posteriores están siendo probadas. Si estas usando TypeScript 2.0 a 2.7, puedes intentar instalando paquetes `@types` — la mayoría de los paquetes no usan los beneficios de Typescript más nuevos. No hay garantía de que funcionen.
+Versiones soportadas:
+
+Versión | Liberado | Fin de soporte
+-- | -- | --
+2.8 | Marzo 2018 | Marzo 2020
+2.9 | Mayo 2018 | Mayo 2020
+3.0 | Julio 2018 | Julio 2020
+3.1 | Septiembre 2018 | Septiembre 2020
+3.2 | Noviembre 2018 | Noviembre 2020
+3.3 | Enero 2019 | Enero 2020
+3.4 | Marzo 2019 | Marzo 2021
+3.5 | Mayo 2019 | Mayo 2021
+3.6 | Agosto 2019 | Agosto 2021
+3.7 | Noviembre 2019 | Noviembre 2021
+3.8 | Febrero 2020 | Febrero 2022
+
+Los paquetes `@types` tienen etiquetas para las versiones de Typescript que explícitamente soportan, usualmente puedes obtener versiones más viejas de los paquetes anteriores a 2 años.
+Por ejemplo, si ejecutas `npm dist-tags @types/react`, observaras que Typescript 2.5 puede usar types para react@16.0, a su vez, Typescript 2.6 y 2.7 pueden usar types para react@16.4.
+
+|Etiqueta | Versión|
+|----|---------|
+|latest| 16.9.23|
+|ts2.0| 15.0.1|
+| ... | ... |
+|ts2.5| 16.0.36|
+|ts2.6| 16.4.7|
+|ts2.7| 16.4.7|
+| ... | ... |
+
+#### Typescript 1.*
-### Otros métodos
-
-Estos pueden ser utilizados por TypeScript 1.0.
-
-* [Typings](https://github.com/typings/typings)
-* ~~[NuGet](http://nuget.org/packages?q=DefinitelyTyped)~~ (use las alternativas preferidas, la publicación DT type de nuget ha sido desactivada)
* Descárguelo manualmente desde la `master` branch de este repositorio
+* [Typings](https://github.com/typings/typings)~~ (use las alternativas preferidas, typings es obsoleto)
+* ~~[NuGet](http://nuget.org/packages?q=DefinitelyTyped)~~ (use las alternativas preferidas, la publicación DT type de nuget ha sido desactivada)
Tal vez debas añadir manualmente las [referencias](http://www.typescriptlang.org/docs/handbook/triple-slash-directives.html).
diff --git a/README.ko.md b/README.ko.md
index 44134b22850df6b..2bd480dc7c0f474 100644
--- a/README.ko.md
+++ b/README.ko.md
@@ -1,63 +1,129 @@
-# DefinitelyTyped [![Build Status](https://travis-ci.org/DefinitelyTyped/DefinitelyTyped.svg?branch=master)](https://travis-ci.org/DefinitelyTyped/DefinitelyTyped)
-
-[![깃터(https://gitter.im/borisyankov/DefinitelyTyped)에서 대화에 참여해보세요](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/borisyankov/DefinitelyTyped?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
+# DefinitelyTyped
> 이 저장소는 고품질의 타입스크립트(TypeScript) 자료형 정의(Type definition)를 위한 저장소입니다.
-이 문서가 가장 최신 내용을 담고있긴 하지만, [공식 사이트(definitelytyped.org)](http://definitelytyped.org)도 확인해보시면 좋습니다.
+*이 도움말은 [영어](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.md), [스페인어](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.es.md), [러시아어](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.ru.md), 그리고 [중국어](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/README.cn.md)로도 읽으실 수 있습니다!*
+
+*[관리자 설명서](./docs/admin.md) 링크*
+
+## 목차
+
+* [현재 상태](#현재-상태)
+* [어떻게 기여하나요?](#어떻게-기여하나요)
+ * [테스트](#테스트)
+ * [풀 리퀘스트 만들기](#풀-리퀘스트pull-request-만들기)
+ * [이미 존재하는 패키지를 수정하기](#이미-존재하는-패키지를-수정하기)
+ * [새 패키지를 만들기](#새-패키지를-만들기)
+ * [많이 저지르는 실수들](#많이-저지르는-실수들)
+ * [패키지 삭제하기](#패키지-삭제하기)
+ * [린터](#린터)
+ * [검증하기](#검증하기)
+* [자주 하는 질문들](#자주-하는-질문들)
+
+## 현재 상태
+
+저장소 및 퍼블리싱 과정의 상태를 표시합니다.
+기여자분들이 작성한 PR 또는 패키지에 문제가 발생했을 경우 이 표시를 보면 도움이 될 수 있습니다.
+
+* 최신 빌드가 [타입 체크/린트](https://github.com/Microsoft/dtslint) 과정을 깔끔하게 통과했습니다: [![Build Status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/DefinitelyTyped.DefinitelyTyped?branchName=master)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=1&branchName=master)
+* 모든 패키지가 typescript@next상에서 타입 체크/린트 과정을 깔끔하게 통과합니다: [![Build Status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/DefinitelyTyped.dtslint-runner?branchName=master)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=2&branchName=master)
+* 모든 패키지가 1시간 내에 [npm에 배포](https://github.com/microsoft/types-publisher)되었습니다: [![Publish Status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/DefinitelyTyped.types-publisher-watchdog?branchName=master)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=5&branchName=master)
+* [typescript-bot](https://github.com/typescript-bot)이 DefinitelyTyped에서 잘 돌고 있습니다 [![Activity Status](https://dev.azure.com/definitelytyped/DefinitelyTyped/_apis/build/status/DefinitelyTyped.typescript-bot-watchdog?branchName=master)](https://dev.azure.com/definitelytyped/DefinitelyTyped/_build/latest?definitionId=6&branchName=master)
+
+상태 표시가 비정상이거나 고장 표시가 발생하면 [DefinitelyTyped Gitter 채널](https://gitter.im/DefinitelyTyped/DefinitelyTyped)에서 이 문제를 알려주세요.
+
+[![https://gitter.im/DefinitelyTyped/DefinitelyTyped 에서 대화에 참여해보세요](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/DefinitelyTyped/DefinitelyTyped?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
## 선언 파일(Declaration file)이 뭔가요?
[타입스크립트 안내서(TypeScript handbook)](http://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html)를 읽어보세요.
-## 선언 파일(Declaration file)을 어떻게 받을 수 있나요??
+## 어떻게 받을 수 있나요?
-### npm 사용하기
+### npm
-아래 방법은 타입스크립트(TypeScript) 2.0+ 이상의 버전을 사용하는 사람들만 사용할 수 있는 방법이기는 합니다만, 이 방법을 사용하기를 장려합니다.
+이 방법을 사용하기를 추천합니다. 아래는 예시입니다:
```sh
npm install --save-dev @types/node
```
`node` 를 위한 자료형(Typing)이 컴파일 과정에 자동으로 포함될 겁니다.
+모듈을 사용하지 않는 경우 `types` 참조를 추가해 주어야 할 수 있습니다.
+
+```ts
+///
+```
+
더 자세한 내용은 [안내서(Handbook)](http://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html)에서 확인해보실 수 있습니다.
NPM 의 "foo" 패키지에 대응되는 자료형 패키지는 "@types/foo" 입니다.
원하시는 패키지를 찾을 수 없는 경우, [타입서치(TypeSearch)](https://microsoft.github.io/TypeSearch/) 사이트에서 한 번 찾아보세요.
-타입서치(TypeSearch)에서도 찾을 수 없는 경우, 찾고 있는 패키지가 자료형(Typing)을
+그래도 찾을 수 없는 경우, 찾고 있는 패키지가 자료형(Typing)을
[함께 제공](http://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html)하고 있지는 않은지 확인해보세요.
-패키지에 포함된 자료형(Typing)은 주로 `package.json` 파일의 `"types"` 나 `"typings"` 필드(Field)를 통해 제공되지만,
+이 경우 주로 `package.json` 파일의 `"types"` 나 `"typings"` 필드(Field)를 통해 제공되지만,
`/// ` 같은 주석을 사용하여 패키지 안의 ".d.ts" 파일들을 직접 가져와야 할 수도 있습니다.
-
-### 그 외의 방법들
-
-타입스크립트(TypeScript) 1.0 버전에서 사용할 수 있는 방법은 다음과 같습니다.
-
-* [Typings](https://github.com/typings/typings) 을 사용하기
-* ~~[NuGet](http://nuget.org/packages?q=DefinitelyTyped) 을 사용하기~~ (다른 방법을 사용해주세요. NuGet 은 더 이상 DT 자료형(Typing)을 제공하지 않습니다.)
-* 이 저장소의 `master` 브랜치를 직접 내려받기
+#### 이전 버전 TypeScript (2.7 또는 그 이전)
+
+Definitely Typed는 2년이 지나지 않은 TypeScript 버전만을 대상으로 패키지를 테스트합니다.
+현재 버전 2.8 및 그 이상만을 테스트하고 있습니다.
+TypeScript 2.0에서 2.7 버전을 사용하는 경우, 그래도 `@types` 패키지를 한번 설치해 보셔도 무방합니다. 최신 TypeScript 기능을 사용하는 패키지는 그리 많지 않으니까요.
+그러나 작동 여부를 보장하지는 못합니다.
+지원 기간은 다음과 같습니다:
+
+버전 | 출시일 | 지원 종료
+-- | -- | --
+2.8 | 2018년 3월 | 2020년 3월
+2.9 | 2018년 5월 | 2020년 5월
+3.0 | 2018년 7월 | 2020년 7월
+3.1 | 2018년 9월 | 2020년 9월
+3.2 | 2018년 11월 | 2020년 11월
+3.3 | 2019년 1월 | 2021년 1월
+3.4 | 2019년 3월 | 2021년 3월
+3.5 | 2019년 5월 | 2021년 5월
+3.6 | 2019년 8월 | 2021년 8월
+3.7 | 2019년 11월 | 2021년 11월
+3.8 | 2020년 2월 | 2022년 2월
+
+`@types` 패키지 안에는 패키지가 확실하게 지원하는 TypeScript 버전이 태그로 쓰여 있으므로, 2년 지원 기간이 지난 오래된 패키지도 보통 찾아보실 수 있습니다.
+예를 들어, `npm dist-tags @types/react` 명령어를 입력하면 TypeScript 2.5는 react@16.0용 타입을, TypeScript 2.6 및 2.7은 react@16.4용 타입을 사용할 수 있는 것을 확인하실 수 있습니다:
+
+|태그 | 버전|
+|----|---------|
+|latest| 16.9.23|
+|ts2.0| 15.0.1|
+| ... | ... |
+|ts2.5| 16.0.36|
+|ts2.6| 16.4.7|
+|ts2.7| 16.4.7|
+| ... | ... |
+
+#### TypeScript 1.*
+
+* 이 저장소의 `master` 브랜치에서 직접 다운로드해 프로젝트에 삽입하기
+* ~~[Typings](https://github.com/typings/typings)를 사용하기~~ (다른 방법을 사용해주세요. typings는 더이상 추천하지 않습니다)
+* ~~[NuGet](http://nuget.org/packages?q=DefinitelyTyped) 을 사용하기~~ (다른 방법을 사용해주세요. NuGet은 더 이상 DT 자료형(Typing)을 제공하지 않습니다.)
위 방법을 사용할 경우 수동으로 [참조(Reference)](http://www.typescriptlang.org/docs/handbook/triple-slash-directives.html)를 추가해주어야 할 수 있습니다.
-## 어떻게 이곳에 기여할 수 있나요?
+## 어떻게 기여하나요?
-여러분과 같은 많은 기여자들의 도움 덕분에 이 저장소가 돌아가고 있습니다. 감사합니다.
+Definitely Typed는 여러분과 같은 많은 기여자들의 도움 덕분에 돌아가고 있습니다!
### 테스트
-여러분이 만든 자료형 선언(Type declation)을 세상에 공유하기에 앞서, 여러분이 스스로 여러분의 자료형 선언(Type declation)을 사용하고 확인해주세요.
+개선한 부분을 세상에 공유하기 전에 먼저 직접 사용해 보세요.
-#### 이미 존재하는 자료형 패키지를 임시로 수정하기
+#### 이미 존재하는 패키지를 수정하고 테스트하기
-이미 존재하는 패키지의 자료형 선언(Type declaration)에 새로운 기능을 추가하려면 [모듈 증강(module augmentation)](http://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation)를 사용할 수 있습니다.
+새로운 기능을 추가하려면 [모듈 증강(module augmentation)](http://www.typescriptlang.org/docs/handbook/declaration-merging.html#module-augmentation)를 사용할 수 있습니다.
물론 `node_modules/@types/foo/index.d.ts` 를 직접 수정하실 수도 있으며, 이 파일을 복사한 다음 아래의 과정을 따라하실 수도 있습니다.
-#### 새 자료형 패키지를 임시로 추가하기
+#### 새 패키지를 테스트하기
사용하고 계신 `tsconfig.json` 에 다음 내용을 추가해주세요.
@@ -76,7 +142,7 @@ NPM 의 "foo" 패키지에 대응되는 자료형 패키지는 "@types/foo" 입
### 풀 리퀘스트(Pull request) 만들기
-여러분의 자료형 선언이 잘 작동하는지 확인하셨다면, DefinitelyTyped 에 공유해주세요.
+패키지가 잘 작동하는지 확인하셨다면, Definitely Typed에 공유해주세요.
우선, 이 저장소를 [포크(fork)](https://guides.github.com/activities/forking/)해 주시고, [node](https://nodejs.org/) 를 설치하신 뒤, `npm install` 명령을 실행해주세요.
@@ -167,7 +233,7 @@ DefinitelyTyped 의 다른 패키지들이 삭제된 자료형(Typing) 패키지
DefinitelyTyped 에 한 번도 올라온 적 없는 패키지가 형(Type)을 포함하게 되었다면, `notNeededPackages.json` 파일에 추가할 필요도 없습니다.
-#### 린트(Lint)하기
+#### 린터
자료형(Typing) 패키지를 린트(Lint)하려면, 패키지 디렉토리에 `{ "extends": "dtslint/dt.json" }` 를 포함하고 있는 `tslint.json` 파일을 추가해주시면 됩니다. 모든 새 패키지는 해당 파일을 가지고 있어야 합니다.
고쳐야 하지만 아직 고쳐지지 않은 린트(Lint) 결과가 있을 때에만 `tslint.json` 에서 린트 규칙(Lint rule)을 사용하지 않도록 설정할 수 있습니다. 예를 들어,
@@ -196,8 +262,11 @@ f("one");
[dtslint](https://github.com/Microsoft/dtslint#write-tests) 저장소의 README 파일에서 더 자세한 내용을 확인하실 수 있습니다.
-이런 테스트들은 `npm run lint package-name` 명령으로 실행해볼 수 있습니다. 이 때, `package-name` 은 테스트하고 싶은 패키지의 이름입니다.
-테스트 스크립트는 [dtslint](https://github.com/Microsoft/dtslint) 를 사용하고 있습니다.
+## 검증하기
+
+`npm run lint package-name` 명령을 통해 변경점을 테스트할 수 있습니다. 이 때, `package-name`은 테스트하고 싶은 패키지의 이름입니다.
+
+작성한 dts 파일을 타입스크립트 컴파일러로 돌려보기 위해 테스트 스크립트 내부적으로 [dtslint](https://github.com/Microsoft/dtslint)를 사용합니다.
## 자주 하는 질문들
diff --git a/README.md b/README.md
index ff6e1492ed6bcb8..936d70245bb31cf 100644
--- a/README.md
+++ b/README.md
@@ -64,25 +64,43 @@ If you still can't find it, check if it [bundles](http://www.typescriptlang.org/
This is usually provided in a `"types"` or `"typings"` field in the `package.json`,
or just look for any ".d.ts" files in the package and manually include them with a `/// `.
-#### Typescript 2.7 and earlier
+#### Older versions of TypeScript (2.7 and earlier)
-Definitely Typed only tests packages on Typescript 2.8 and later as of November 2019.
-If you're using Typescript 2.0 to 2.7, you can still try installing `@types` packages — the majority of packages don't use fancy new Typescript features.
+Definitely Typed only tests packages on versions of TypeScript that are less than 2 years old.
+Currently versions 2.8 and above are tested.
+If you're using TypeScript 2.0 to 2.7, you can still try installing `@types` packages — the majority of packages don't use fancy new TypeScript features.
But there's no guarantee that they'll work.
-Packages that existed before November 2019 may have older versions that are explicitly marked compatible with older versions of Typescript; use the tag "ts2.6" for Typescript 2.6, for example.
-
-For example, if you run `npm dist-tags @types/react`, you'll see the following table that shows that react@16.4 has types for Typescript 2.6:
+Here is the support window:
+
+Version | Released | End of Support
+-- | -- | --
+2.8 | March 2018 | March 2020
+2.9 | May 2018 | May 2020
+3.0 | July 2018 | July 2020
+3.1 | September 2018 | September 2020
+3.2 | November 2018 | November 2020
+3.3 | January 2019 | January 2021
+3.4 | March 2019 | March 2021
+3.5 | May 2019 | May 2021
+3.6 | August 2019 | August 2021
+3.7 | November 2019 | November 2021
+3.8 | February 2020 | February 2022
+
+`@types` packages have tags for versions of TypeScript that they explicitly support, so you can usually get older versions of packages that predate the 2-year window.
+For example, if you run `npm dist-tags @types/react`, you'll see that TypeScript 2.5 can use types for react@16.0, whereas TypeScript 2.6 and 2.7 can use types for react@16.4:
|Tag | Version|
|----|---------|
-|latest| 16.9.11|
+|latest| 16.9.23|
|ts2.0| 15.0.1|
| ... | ... |
+|ts2.5| 16.0.36|
|ts2.6| 16.4.7|
+|ts2.7| 16.4.7|
| ... | ... |
-### Typescript 1.8 and earlier
+#### TypeScript 1.*
* Manually download from the `master` branch of this repository and place them in your project
* ~~[Typings](https://github.com/typings/typings)~~ (use preferred alternatives, typings is deprecated)
@@ -182,7 +200,11 @@ For a good example package, see [base64-js](https://github.com/DefinitelyTyped/D
#### Common mistakes
* First, follow advice from the [handbook](http://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html).
-* Formatting: Use 4 spaces. Prettier is set up on this repo, so you can run `npm run prettier -- --write path/to/package`.
+* Formatting: Use 4 spaces. Prettier is set up on this repo, so you can run `npm run prettier -- --write path/to/package/**/*.ts`. [When using assertions](https://github.com/SamVerschueren/tsd#assertions), add `// prettier-ignore` exclusion to mark line(s) of code as excluded from formatting:
+ ```tsx
+ // prettier-ignore
+ const incompleteThemeColorModes: Theme = { colors: { modes: { papaya: { // $ExpectError
+ ```
* `function sum(nums: number[]): number`: Use `ReadonlyArray` if a function does not write to its parameters.
* `interface Foo { new(): Foo; }`:
This defines a type of objects that are new-able. You probably want `declare class Foo { constructor(); }`.
@@ -328,7 +350,7 @@ This is a commonly cited [Stack Overflow answer](https://stackoverflow.com/quest
It is more appropriate to import the module using the `import foo = require("foo");` syntax.
Nevertheless, if you want to use a default import like `import foo from "foo";` you have two options:
- you can use the [`--allowSyntheticDefaultImports` compiler option](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-1-8.html#support-for-default-import-interop-with-systemjs) if your module runtime supports an interop scheme for non-ECMAScript modules, i.e. if default imports work in your environment (e.g. Webpack, SystemJS, esm).
-- you can use the [`--esModuleInterop` compiler option](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#support-for-import-d-from-cjs-form-commonjs-modules-with---esmoduleinterop) if you want TypeScript to take care of non-ECMAScript interop (since Typescript 2.7).
+- you can use the [`--esModuleInterop` compiler option](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#support-for-import-d-from-cjs-form-commonjs-modules-with---esmoduleinterop) if you want TypeScript to take care of non-ECMAScript interop (since TypeScript 2.7).
#### A package uses `export =`, but I prefer to use default imports. Can I change `export =` to `export default`?
diff --git a/README.ru.md b/README.ru.md
index 6f5ff553321348d..f1e0ba0aaad759f 100644
--- a/README.ru.md
+++ b/README.ru.md
@@ -73,9 +73,27 @@ npm install --save-dev @types/node
#### Typescript 2.7 и старее
-Начиная с ноября 2019 года, Definitely Typed тестирует пакеты только на Typescript 2.8 и новее.
-Если вы используете Typescript от 2.0 до 2.7, вы все равно можете попробовать установить пакеты `@types` - большинство пакетов не используют необычные новые функции Typescript.
+Начиная с ноября 2019 года, Definitely Typed тестирует пакеты только на версиях Typescript, которым меньше двух лет.
+Если вы используете Typescript от 2.0 до 2.7, вы все равно можете попробовать установить пакеты `@types` - большинство пакетов не используют новые функции Typescript.
Но нет гарантии, что они будут работать.
+
+График обновлений:
+
+Версия | Релиз | Окончание поддержки
+-- | -- | --
+2.8 | Март 2018 | Март 2020
+2.9 | Май 2018 | Май 2020
+3.0 | Июль 2018 | Июль 2020
+3.1 | Сентябрь 2018 | Сентябрь 2020
+3.2 | Ноябрь 2018 | Ноябрь 2020
+3.3 | Январь 2019 | Январь 2021
+3.4 | Март 2019 | Март 2021
+3.5 | Май 2019 | Май 2021
+3.6 | Август 2019 | Август 2021
+3.7 | Ноябрь 2019 | Ноябрь 2021
+3.8 | Февраль 2020 | Февраль 2022
+
+
Пакеты, которые существовали до ноября 2019 года, могут иметь более старые версии, которые явно помечены как совместимые с более старыми версиями Typescript; используйте тег "ts2.6" для Typescript 2.6, например.
Например, если вы запустите `npm dist-tags @types/react`, вы увидите следующую таблицу, которая показывает, что у react@16.4 есть типы для Typescript 2.6:
diff --git a/notNeededPackages.json b/notNeededPackages.json
index 593ff21e2a28701..6af1828902622d9 100644
--- a/notNeededPackages.json
+++ b/notNeededPackages.json
@@ -474,6 +474,12 @@
"sourceRepoURL": "https://github.com/interactivethings/catalog",
"asOfVersion": "3.5.0"
},
+ {
+ "libraryName": "@catho/quantum",
+ "typingsPackageName": "catho__quantum",
+ "sourceRepoURL": "https://github.com/catho/quantum",
+ "asOfVersion": "3.9.0"
+ },
{
"libraryName": "chai-http",
"typingsPackageName": "chai-http",
@@ -606,6 +612,12 @@
"sourceRepoURL": "https://github.com/allipierre/Type-definitions-for-jquery-confirm/tree/master/types/confirmDialog-js",
"asOfVersion": "1.0.0"
},
+ {
+ "libraryName": "connect-mongo",
+ "typingsPackageName": "connect-mongo",
+ "sourceRepoURL": "https://github.com/jdesboeufs/connect-mongo",
+ "asOfVersion": "3.1.1"
+ },
{
"libraryName": "consola",
"typingsPackageName": "consola",
@@ -1344,6 +1356,12 @@
"sourceRepoURL": "https://github.com/fastify/fastify-static",
"asOfVersion": "2.2.1"
},
+ {
+ "libraryName": "@types/facebook-js-sdk",
+ "typingsPackageName": "fb",
+ "sourceRepoURL": "https://github.com/DefinitelyTyped/DefinitelyTyped",
+ "asOfVersion": "0.0.28"
+ },
{
"libraryName": "fecha",
"typingsPackageName": "fecha",
@@ -1650,6 +1668,12 @@
"sourceRepoURL": "https://github.com/griddlegriddle/griddle",
"asOfVersion": "1.3.0"
},
+ {
+ "libraryName": "gridstack",
+ "typingsPackageName": "gridstack",
+ "sourceRepoURL": "https://github.com/gridstack/gridstack.js",
+ "asOfVersion": "0.5.2"
+ },
{
"libraryName": "gulp-pug",
"typingsPackageName": "gulp-pug",
@@ -1704,6 +1728,60 @@
"sourceRepoURL": "https://github.com/dwyl/hapi-auth-jwt2/",
"asOfVersion": "8.6.1"
},
+ {
+ "libraryName": "@hapi/accept",
+ "typingsPackageName": "hapi__accept",
+ "sourceRepoURL": "https://github.com/hapijs/accept",
+ "asOfVersion": "5.0.0"
+ },
+ {
+ "libraryName": "@hapi/boom",
+ "typingsPackageName": "hapi__boom",
+ "sourceRepoURL": "https://github.com/hapijs/boom",
+ "asOfVersion": "9.0.0"
+ },
+ {
+ "libraryName": "@hapi/code",
+ "typingsPackageName": "hapi__code",
+ "sourceRepoURL": "https://github.com/hapijs/code",
+ "asOfVersion": "8.0.0"
+ },
+ {
+ "libraryName": "@hapi/cryptiles",
+ "typingsPackageName": "hapi__cryptiles",
+ "sourceRepoURL": "https://github.com/hapijs/cryptiles",
+ "asOfVersion": "5.0.0"
+ },
+ {
+ "libraryName": "@hapi/hoek",
+ "typingsPackageName": "hapi__hoek",
+ "sourceRepoURL": "https://github.com/hapijs/hoek",
+ "asOfVersion": "9.0.0"
+ },
+ {
+ "libraryName": "@hapi/iron",
+ "typingsPackageName": "hapi__iron",
+ "sourceRepoURL": "https://github.com/hapijs/iron",
+ "asOfVersion": "6.0.0"
+ },
+ {
+ "libraryName": "@hapi/lab",
+ "typingsPackageName": "hapi__lab",
+ "sourceRepoURL": "https://github.com/hapijs/lab",
+ "asOfVersion": "22.0.0"
+ },
+ {
+ "libraryName": "@hapi/topo",
+ "typingsPackageName": "hapi__topo",
+ "sourceRepoURL": "https://github.com/hapijs/topo",
+ "asOfVersion": "5.0.0"
+ },
+ {
+ "libraryName": "@hapi/wreck",
+ "typingsPackageName": "hapi__wreck",
+ "sourceRepoURL": "https://github.com/hapijs/wreck",
+ "asOfVersion": "17.0.0"
+ },
{
"libraryName": "hard-rejection",
"typingsPackageName": "hard-rejection",
@@ -2196,6 +2274,12 @@
"sourceRepoURL": "https://github.com/facebook/jest/tree/master/packages/jest-diff",
"asOfVersion": "24.3.0"
},
+ {
+ "libraryName": "jest-docblock",
+ "typingsPackageName": "jest-docblock",
+ "sourceRepoURL": "https://github.com/facebook/jest/tree/master/packages/jest-docblock",
+ "asOfVersion": "25.1.0"
+ },
{
"libraryName": "jest-each",
"typingsPackageName": "jest-each",
@@ -2208,6 +2292,24 @@
"sourceRepoURL": "https://github.com/facebook/jest/tree/master/packages/jest-get-type",
"asOfVersion": "24.2.0"
},
+ {
+ "libraryName": "jest-matcher-utils",
+ "typingsPackageName": "jest-matcher-utils",
+ "sourceRepoURL": "https://github.com/facebook/jest/tree/master/packages/jest-matcher-utils",
+ "asOfVersion": "25.1.0"
+ },
+ {
+ "libraryName": "expect",
+ "typingsPackageName": "jest-matchers",
+ "sourceRepoURL": "https://github.com/facebook/jest/tree/master/packages/expect",
+ "asOfVersion": "25.1.0"
+ },
+ {
+ "libraryName": "jest-validate",
+ "typingsPackageName": "jest-validate",
+ "sourceRepoURL": "https://github.com/facebook/jest/tree/master/packages/jest-validate",
+ "asOfVersion": "25.1.0"
+ },
{
"libraryName": "jimp",
"typingsPackageName": "jimp",
@@ -3702,12 +3804,6 @@
"sourceRepoURL": "http://github.com/react-component/progress",
"asOfVersion": "2.4.0"
},
- {
- "libraryName": "rdflib",
- "typingsPackageName": "rdflib",
- "sourceRepoURL": "http://github.com/linkeddata/rdflib.js",
- "asOfVersion": "1.0.5"
- },
{
"libraryName": "re2",
"typingsPackageName": "re2",
@@ -4230,6 +4326,18 @@
"sourceRepoURL": "https://github.com/riot/riot",
"asOfVersion": "4.1.0"
},
+ {
+ "libraryName": "roads",
+ "typingsPackageName": "roads",
+ "sourceRepoURL": "https://github.com/Dashron/roads",
+ "asOfVersion": "6.0.1"
+ },
+ {
+ "libraryName": "roads-server",
+ "typingsPackageName": "roads-server",
+ "sourceRepoURL": "https://github.com/Dashron/roads-server",
+ "asOfVersion": "1.0.1"
+ },
{
"libraryName": "rollup",
"typingsPackageName": "rollup",
@@ -4650,6 +4758,18 @@
"sourceRepoURL": "https://github.com/storybooks/storybook",
"asOfVersion": "5.2.0"
},
+ {
+ "libraryName": "@storybook/addon-storyshots",
+ "typingsPackageName": "storybook__addon-storyshots",
+ "sourceRepoURL": "https://github.com/storybooks/storybook",
+ "asOfVersion": "5.3.0"
+ },
+ {
+ "libraryName": "@storybook/addon-storyshots-puppeteer",
+ "typingsPackageName": "storybook__addon-storyshots-puppeteer",
+ "sourceRepoURL": "https://github.com/storybooks/storybook",
+ "asOfVersion": "5.3.0"
+ },
{
"libraryName": "@storybook/addon-viewport",
"typingsPackageName": "storybook__addon-viewport",
@@ -4902,6 +5022,12 @@
"sourceRepoURL": "https://github.com/cssinjs/theming",
"asOfVersion": "2.0.0"
},
+ {
+ "libraryName": "theme-ui",
+ "typingsPackageName": "theme-ui__color",
+ "sourceRepoURL": "https://github.com/system-ui/theme-ui",
+ "asOfVersion": "0.3.1"
+ },
{
"libraryName": "three",
"typingsPackageName": "three",
diff --git a/package.json b/package.json
index 408f02b2ade7fa4..092e7fab934bde9 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,8 @@
"not-needed": "node scripts/not-needed.js",
"update-codeowners": "node scripts/update-codeowners.js",
"test": "node node_modules/types-publisher/bin/tester/test.js --run-from-definitely-typed",
- "lint": "dtslint types"
+ "lint": "dtslint types",
+ "prettier": "prettier"
},
"devDependencies": {
"dtslint": "latest",
diff --git a/types/absolute/tsconfig.json b/types/absolute/tsconfig.json
index ba18df791eb47f6..baa1257871c61b4 100644
--- a/types/absolute/tsconfig.json
+++ b/types/absolute/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"absolute-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/absolute/tslint.json b/types/absolute/tslint.json
index 3d59f55fdabcf45..14c5d28a5a849e9 100644
--- a/types/absolute/tslint.json
+++ b/types/absolute/tslint.json
@@ -1,80 +1,16 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": [
+ true,
+ {
+ "mode": "name-only"
+ }
+ ],
"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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/acc-wizard/tsconfig.json b/types/acc-wizard/tsconfig.json
index a20aeba97be2cc5..cbbd68ab4bbdd03 100644
--- a/types/acc-wizard/tsconfig.json
+++ b/types/acc-wizard/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"acc-wizard-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/acc-wizard/tslint.json b/types/acc-wizard/tslint.json
index 3d59f55fdabcf45..0a5cef1833daf13 100644
--- a/types/acc-wizard/tslint.json
+++ b/types/acc-wizard/tslint.json
@@ -1,80 +1,18 @@
{
"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,
- "npm-naming": 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,
+ "no-var-keyword": false,
+ "npm-naming": 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
+ "prefer-method-signature": false
}
-}
+}
\ No newline at end of file
diff --git a/types/accounting/tsconfig.json b/types/accounting/tsconfig.json
index f815c5b01e18fe9..c0e9f48679f55ef 100644
--- a/types/accounting/tsconfig.json
+++ b/types/accounting/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"accounting-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/ace/tslint.json b/types/ace/tslint.json
index 3d59f55fdabcf45..74a39e17197b71d 100644
--- a/types/ace/tslint.json
+++ b/types/ace/tslint.json
@@ -2,79 +2,36 @@
"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,
- "npm-naming": 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-trailing-whitespace": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/acl/tsconfig.json b/types/acl/tsconfig.json
index 9f5c6a01ef35ba8..d4174faa174a644 100644
--- a/types/acl/tsconfig.json
+++ b/types/acl/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -22,4 +22,4 @@
"test/mongodbBackend.ts",
"test/redisBackend.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/acorn/tsconfig.json b/types/acorn/tsconfig.json
index 0b4760b0fc75ed0..3e3fd4849b296e1 100644
--- a/types/acorn/tsconfig.json
+++ b/types/acorn/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"acorn-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/acorn/tslint.json b/types/acorn/tslint.json
index 2d05b8507cb291b..9d5650a14d4f4cb 100644
--- a/types/acorn/tslint.json
+++ b/types/acorn/tslint.json
@@ -6,4 +6,4 @@
"no-empty-interface": false,
"no-unnecessary-class": false
}
-}
+}
\ No newline at end of file
diff --git a/types/actioncable/tsconfig.json b/types/actioncable/tsconfig.json
index cb137a898207b34..77e48c6aa6d16d0 100644
--- a/types/actioncable/tsconfig.json
+++ b/types/actioncable/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"actioncable-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/actioncable/tslint.json b/types/actioncable/tslint.json
index 3d59f55fdabcf45..df850620234d41d 100644
--- a/types/actioncable/tslint.json
+++ b/types/actioncable/tslint.json
@@ -1,80 +1,14 @@
{
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activestorage/tslint.json b/types/activestorage/tslint.json
index 3db14f85eaf7b98..d086f8e13f785e5 100644
--- a/types/activestorage/tslint.json
+++ b/types/activestorage/tslint.json
@@ -1 +1,17 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/types/activex-access/tslint.json b/types/activex-access/tslint.json
index 7b89accc6d479af..d62f329ff6f3859 100644
--- a/types/activex-access/tslint.json
+++ b/types/activex-access/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-adodb/tslint.json b/types/activex-adodb/tslint.json
index 7b89accc6d479af..d62f329ff6f3859 100644
--- a/types/activex-adodb/tslint.json
+++ b/types/activex-adodb/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-adox/tslint.json b/types/activex-adox/tslint.json
index b06c06beef2dec4..d62f329ff6f3859 100644
--- a/types/activex-adox/tslint.json
+++ b/types/activex-adox/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
}
\ No newline at end of file
diff --git a/types/activex-dao/tslint.json b/types/activex-dao/tslint.json
index 3224b40b8b4935b..ed91c31f9c1973b 100644
--- a/types/activex-dao/tslint.json
+++ b/types/activex-dao/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-excel/tslint.json b/types/activex-excel/tslint.json
index 7b89accc6d479af..d62f329ff6f3859 100644
--- a/types/activex-excel/tslint.json
+++ b/types/activex-excel/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-infopath/tslint.json b/types/activex-infopath/tslint.json
index 3224b40b8b4935b..ed91c31f9c1973b 100644
--- a/types/activex-infopath/tslint.json
+++ b/types/activex-infopath/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-libreoffice/tslint.json b/types/activex-libreoffice/tslint.json
index 37a3c274890530a..dd84e7fd8016fdf 100644
--- a/types/activex-libreoffice/tslint.json
+++ b/types/activex-libreoffice/tslint.json
@@ -4,7 +4,6 @@
"ban-types": false,
"no-const-enum": false,
"no-redundant-jsdoc": false,
- "no-redundant-jsdoc-2": false,
"no-unnecessary-qualifier": false
}
}
\ No newline at end of file
diff --git a/types/activex-msforms/tslint.json b/types/activex-msforms/tslint.json
index 7b89accc6d479af..d62f329ff6f3859 100644
--- a/types/activex-msforms/tslint.json
+++ b/types/activex-msforms/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-mshtml/tslint.json b/types/activex-mshtml/tslint.json
index 916af93888ebe18..d62f329ff6f3859 100644
--- a/types/activex-mshtml/tslint.json
+++ b/types/activex-mshtml/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-msxml2/tslint.json b/types/activex-msxml2/tslint.json
index 7b89accc6d479af..d62f329ff6f3859 100644
--- a/types/activex-msxml2/tslint.json
+++ b/types/activex-msxml2/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-office/tslint.json b/types/activex-office/tslint.json
index 7b89accc6d479af..d62f329ff6f3859 100644
--- a/types/activex-office/tslint.json
+++ b/types/activex-office/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-outlook/tslint.json b/types/activex-outlook/tslint.json
index 3224b40b8b4935b..ed91c31f9c1973b 100644
--- a/types/activex-outlook/tslint.json
+++ b/types/activex-outlook/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-powerpoint/tslint.json b/types/activex-powerpoint/tslint.json
index 3224b40b8b4935b..ed91c31f9c1973b 100644
--- a/types/activex-powerpoint/tslint.json
+++ b/types/activex-powerpoint/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-stdole/tslint.json b/types/activex-stdole/tslint.json
index 3224b40b8b4935b..ed91c31f9c1973b 100644
--- a/types/activex-stdole/tslint.json
+++ b/types/activex-stdole/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-vbide/tslint.json b/types/activex-vbide/tslint.json
index 7b89accc6d479af..d62f329ff6f3859 100644
--- a/types/activex-vbide/tslint.json
+++ b/types/activex-vbide/tslint.json
@@ -1,7 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "no-const-enum": false,
- "max-line-length": false
+ "max-line-length": false,
+ "no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-wia/tslint.json b/types/activex-wia/tslint.json
index 457cebbb556c3c9..ed91c31f9c1973b 100644
--- a/types/activex-wia/tslint.json
+++ b/types/activex-wia/tslint.json
@@ -1,6 +1,6 @@
{
"extends": "dtslint/dt.json",
- "rules":{
+ "rules": {
"no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/activex-word/tslint.json b/types/activex-word/tslint.json
index 3224b40b8b4935b..ed91c31f9c1973b 100644
--- a/types/activex-word/tslint.json
+++ b/types/activex-word/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-const-enum": false
}
-}
+}
\ No newline at end of file
diff --git a/types/add2home/tsconfig.json b/types/add2home/tsconfig.json
index 904e5e74537165e..93f0ad7caa78d78 100644
--- a/types/add2home/tsconfig.json
+++ b/types/add2home/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"add2home-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/add2home/tslint.json b/types/add2home/tslint.json
index 3d59f55fdabcf45..1d176f8010a9d85 100644
--- a/types/add2home/tslint.json
+++ b/types/add2home/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/adone/tslint.json b/types/adone/tslint.json
index 177bd33372c8722..cf3a749d9318b26 100644
--- a/types/adone/tslint.json
+++ b/types/adone/tslint.json
@@ -1,19 +1,16 @@
{
"extends": "dtslint/dt.json",
"rules": {
- // TODOs
"align": false,
- "no-namespace": false,
- "strict-export-declare-modifiers": false,
- "no-any-union": false,
+ "await-promise": false,
"no-boolean-literal-compare": false,
"no-mergeable-namespace": false,
- "no-single-declare-module": false,
+ "no-namespace": false,
+ "no-restricted-globals": false,
"no-unnecessary-generics": false,
"no-unnecessary-qualifier": false,
- "unified-signatures": false,
"space-before-function-paren": false,
- "await-promise": false,
- "no-restricted-globals": false
+ "strict-export-declare-modifiers": false,
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/aframe/tslint.json b/types/aframe/tslint.json
index 495d29983de7d66..aa1140f0ed33ff7 100644
--- a/types/aframe/tslint.json
+++ b/types/aframe/tslint.json
@@ -1,5 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
+ "no-unnecessary-type-assertion": false
}
-}
+}
\ No newline at end of file
diff --git a/types/ag-channel/ag-channel-tests.ts b/types/ag-channel/ag-channel-tests.ts
new file mode 100644
index 000000000000000..7e15321c9cc3111
--- /dev/null
+++ b/types/ag-channel/ag-channel-tests.ts
@@ -0,0 +1,39 @@
+import AGChannel = require('ag-channel');
+import AGSimpleBroker = require('ag-simple-broker');
+import StreamDemux = require('stream-demux');
+
+const broker = new AGSimpleBroker();
+const exchange = broker.exchange();
+
+const channel = new AGChannel('dummy', exchange, new StreamDemux(), new StreamDemux());
+
+(async () => {
+ await channel.listener('subscribe').once();
+ console.log('subscribed');
+})();
+
+// $ExpectType ChannelState
+channel.state;
+
+(async () => {
+ // tslint:disable-next-line: await-promise Bug in tslint: https://github.com/palantir/tslint/issues/3997
+ for await (const message of channel) {
+ // $ExpectType number
+ message;
+ }
+})();
+
+(async () => {
+ // tslint:disable-next-line: await-promise Bug in tslint: https://github.com/palantir/tslint/issues/3997
+ for await (const event of channel.listener('subscribe')) {
+ // $ExpectType number
+ event;
+ }
+
+ await channel.transmitPublish(`hello`);
+})();
+
+// $ExpectType number
+channel.getBackpressure();
+
+channel.close();
diff --git a/types/ag-channel/index.d.ts b/types/ag-channel/index.d.ts
new file mode 100644
index 000000000000000..6cf11bd1c4f90b7
--- /dev/null
+++ b/types/ag-channel/index.d.ts
@@ -0,0 +1,120 @@
+// Type definitions for ag-channel 4.0
+// Project: https://github.com/SocketCluster/ag-channel
+// Definitions by: Daniel Rose
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+import ConsumableStream = require('consumable-stream');
+import StreamDemux = require('stream-demux');
+import DemuxedConsumableStream = require('stream-demux/demuxed-consumable-stream');
+import Consumer = require('writable-consumable-stream/consumer');
+
+declare class AGChannel extends ConsumableStream {
+ readonly PENDING: 'pending';
+ readonly SUBSCRIBED: 'subscribed';
+ readonly UNSUBSCRIBED: 'unsubscribed';
+
+ name: string;
+ client: AGChannel.Client;
+
+ state: AGChannel.ChannelState;
+ options: object;
+
+ constructor(name: string, client: AGChannel.Client, eventDemux: StreamDemux, dataDemux: StreamDemux);
+
+ createConsumer(timeout?: number): ConsumableStream.Consumer;
+
+ listener(eventName: string): DemuxedConsumableStream;
+
+ close(): void;
+
+ kill(): void;
+ killOutputConsumer(consumerId: number): void;
+ killListenerConsumer(consumerId: number): void;
+
+ getOutputConsumerStats(consumerId: number): Consumer.ConsumerStats | undefined;
+ getListenerConsumerStats(consumerId: number): Consumer.ConsumerStats | undefined;
+
+ getBackpressure(): number;
+ getListenerConsumerBackpressure(consumerId: number): number;
+ getOutputConsumerBackpressure(consumerId: number): any;
+
+ closeOutput(): void;
+ closeListener(eventName: string): void;
+ closeAllListeners(): void;
+
+ killOutput(): void;
+ killListener(eventName: string): void;
+ killAllListeners(): void;
+
+ getOutputConsumerStatsList(): Consumer.ConsumerStats;
+ getListenerConsumerStatsList(eventName: string): Consumer.ConsumerStats[];
+
+ getOutputBackpressure(): number;
+ getListenerBackpressure(eventName: string): number;
+ getAllListenersBackpressure(): number;
+
+ hasOutputConsumer(consumerId: number): boolean;
+ hasListenerConsumer(eventName: string, consumerId: number): boolean;
+ hasAnyListenerConsumer(consumerId: number): boolean;
+
+ subscribe(options?: any): void;
+ unsubscribe(): void;
+
+ isSubscribed(includePending?: boolean): boolean;
+
+ transmitPublish(data: any): Promise;
+ invokePublish(data: any): Promise;
+}
+
+export = AGChannel;
+
+declare namespace AGChannel {
+ interface Client {
+ closeChannel(channelName: string): void;
+
+ killChannel(channelName: string): void;
+
+ killChannelOutputConsumer(consumerId: number): void;
+ killChannelListenerConsumer(consumerId: number): void;
+
+ getChannelOutputConsumerStats(consumerId: number): Consumer.ConsumerStats;
+ getChannelListenerConsumerStats(consumerId: number): Consumer.ConsumerStats;
+
+ getChannelBackpressure(channelName: string): number;
+
+ getChannelListenerConsumerBackpressure(consumerId: number): number;
+ getChannelOutputConsumerBackpressure(consumerId: number): number;
+
+ channelCloseOutput(channelName: string): void;
+ channelCloseListener(channelName: string, eventName: string): void;
+ channelCloseAllListeners(channelName: string): void;
+
+ channelKillOutput(channelName: string): void;
+ channelKillListener(channelName: string, eventName: string): void;
+ channelKillAllListeners(channelName: string): void;
+
+ channelGetOutputConsumerStatsList(channelName: string): Consumer.ConsumerStats[];
+ channelGetListenerConsumerStatsList(channelName: string, eventName: string): Consumer.ConsumerStats[];
+ channelGetAllListenersConsumerStatsList(channelName: string): Consumer.ConsumerStats[];
+
+ channelGetOutputBackpressure(channelName: string): number;
+ channelGetListenerBackpressure(channelName: string, eventName: string): number;
+ channelGetAllListenersBackpressure(channelName: string): number;
+
+ channelHasOutputConsumer(channelName: string, consumerId: number): boolean;
+ channelHasListenerConsumer(channelName: string, eventName: string, consumerId: number): boolean;
+ channelHasAnyListenerConsumer(channelName: string, consumerId: number): boolean;
+
+ getChannelState(channelName: string): ChannelState;
+ getChannelOptions(channelName: string): object;
+
+ subscribe(channelName: string): AGChannel;
+ unsubscribe(channelName: string): Promise;
+ isSubscribed(channelName: string, includePending?: boolean): boolean;
+
+ transmitPublish(channelName: string, data: any): Promise;
+ invokePublish(channelName: string, data: any): Promise;
+ }
+
+ type ChannelState = 'pending' | 'subscribed' | 'unsubscribed';
+}
diff --git a/types/hapi__lab/tsconfig.json b/types/ag-channel/tsconfig.json
similarity index 80%
rename from types/hapi__lab/tsconfig.json
rename to types/ag-channel/tsconfig.json
index c303939cd40ebfe..1d72f6b838499f3 100644
--- a/types/hapi__lab/tsconfig.json
+++ b/types/ag-channel/tsconfig.json
@@ -3,7 +3,7 @@
"module": "commonjs",
"lib": [
"es6",
- "dom"
+ "esnext.asynciterable"
],
"noImplicitAny": true,
"noImplicitThis": true,
@@ -13,17 +13,17 @@
"typeRoots": [
"../"
],
+ "types": [],
"paths": {
- "@hapi/lab": [
- "hapi__lab"
+ "sc-channel": [
+ "sc-channel/v1"
]
},
- "types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
- "hapi__lab-tests.ts"
+ "ag-channel-tests.ts"
]
}
diff --git a/types/hapi__iron/tslint.json b/types/ag-channel/tslint.json
similarity index 100%
rename from types/hapi__iron/tslint.json
rename to types/ag-channel/tslint.json
diff --git a/types/ag-simple-broker/ag-simple-broker-tests.ts b/types/ag-simple-broker/ag-simple-broker-tests.ts
new file mode 100644
index 000000000000000..11c2d8b7440349f
--- /dev/null
+++ b/types/ag-simple-broker/ag-simple-broker-tests.ts
@@ -0,0 +1,28 @@
+import AGSimpleBroker = require('ag-simple-broker');
+
+const brokerEngine = new AGSimpleBroker();
+
+(async () => {
+ // tslint:disable-next-line: await-promise Bug in tslint: https://github.com/palantir/tslint/issues/3997
+ for await (const { error } of brokerEngine.listener('error')) {
+ console.log(error);
+ }
+})();
+
+if (brokerEngine.isReady) {
+ console.log('ready');
+} else {
+ (async () => {
+ await brokerEngine.listener('ready').once();
+ console.log('ready');
+ })();
+}
+
+const exchange = brokerEngine.exchange();
+
+brokerEngine.subscribeSocket(exchange, 'test');
+
+exchange.invokePublish('test', 'dummy');
+exchange.invokePublish('test', {});
+
+brokerEngine.unsubscribeSocket(exchange, 'test');
diff --git a/types/ag-simple-broker/index.d.ts b/types/ag-simple-broker/index.d.ts
new file mode 100644
index 000000000000000..1232daa73ebeec0
--- /dev/null
+++ b/types/ag-simple-broker/index.d.ts
@@ -0,0 +1,148 @@
+// Type definitions for ag-simple-broker 4.0
+// Project: https://github.com/SocketCluster/ag-simple-broker
+// Definitions by: Daniel Rose
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+import AsyncStreamEmitter = require('async-stream-emitter');
+import AGServer = require('socketcluster-server/server');
+import ConsumableStream = require('consumable-stream');
+import AGChannel = require('ag-channel');
+import Consumer = require('writable-consumable-stream/consumer');
+
+declare class AGSimpleBroker extends AsyncStreamEmitter {
+ isReady: boolean;
+
+ emit(eventName: 'ready', data: {}): void;
+ emit(eventName: 'subscribe', data: AGSimpleBroker.SubscribeData): void;
+ emit(eventName: 'unsubscribe', data: AGSimpleBroker.UnsubscribeData): void;
+ emit(eventName: 'error', data: { error: Error }): void;
+ emit(eventName: 'publish', data: AGSimpleBroker.PublishData): void;
+
+ listener(eventName: 'ready'): ConsumableStream<{}>;
+ listener(eventName: 'subscribe'): ConsumableStream;
+ listener(eventName: 'unsubscribe'): ConsumableStream;
+ listener(eventName: 'error'): ConsumableStream<{ error: Error }>;
+ listener(eventName: 'publish'): ConsumableStream;
+
+ exchange(): AGSimpleBroker.SimpleExchange;
+
+ subscribeClient(client: { id: string }, channelName: string): Promise;
+ subscribeSocket(client: { id: string }, channelName: string): Promise;
+
+ unsubscribeClient(client: { id: string }, channelName: string): Promise;
+ unsubscribeSocket(client: { id: string }, channelName: string): Promise;
+
+ subscriptions(): string[];
+ isSubscribed(channelName: string): boolean;
+
+ setCodecEngine(codec: AGServer.CodecEngine): void;
+
+ invokePublish(channelName: string, data: any, suppressEvent?: boolean): Promise;
+ transmitPublish(channelName: string, data: any, suppressEvent?: boolean): Promise;
+}
+
+export = AGSimpleBroker;
+
+declare namespace AGSimpleBroker {
+ class SimpleExchange extends AsyncStreamEmitter implements AGChannel.Client {
+ id: string;
+
+ constructor(broker: AGSimpleBroker);
+
+ emit(eventName: 'subscribe', data: SubscribeData): void;
+ emit(eventName: 'unsubscribe', data: UnsubscribeData): void;
+
+ listener(eventName: 'subscribe'): ConsumableStream;
+ listener(eventName: 'unsubscribe'): ConsumableStream;
+
+ /* AGChannel.Client start */
+
+ closeChannel(channelName: string): void;
+
+ killChannel(channelName: string): void;
+
+ killChannelOutputConsumer(consumerId: number): void;
+ killChannelListenerConsumer(consumerId: number): void;
+
+ getChannelOutputConsumerStats(consumerId: number): Consumer.ConsumerStats;
+ getChannelListenerConsumerStats(consumerId: number): Consumer.ConsumerStats;
+
+ getChannelBackpressure(channelName: string): number;
+
+ getChannelListenerConsumerBackpressure(consumerId: number): number;
+ getChannelOutputConsumerBackpressure(consumerId: number): number;
+
+ channelCloseOutput(channelName: string): void;
+ channelCloseListener(channelName: string, eventName: string): void;
+ channelCloseAllListeners(channelName: string): void;
+
+ channelKillOutput(channelName: string): void;
+ channelKillListener(channelName: string, eventName: string): void;
+ channelKillAllListeners(channelName: string): void;
+
+ channelGetOutputConsumerStatsList(channelName: string): Consumer.ConsumerStats[];
+ channelGetListenerConsumerStatsList(channelName: string, eventName: string): Consumer.ConsumerStats[];
+ channelGetAllListenersConsumerStatsList(channelName: string): Consumer.ConsumerStats[];
+
+ channelGetOutputBackpressure(channelName: string): number;
+ channelGetListenerBackpressure(channelName: string, eventName: string): number;
+ channelGetAllListenersBackpressure(channelName: string): number;
+
+ channelHasOutputConsumer(channelName: string, consumerId: number): boolean;
+ channelHasListenerConsumer(channelName: string, eventName: string, consumerId: number): boolean;
+ channelHasAnyListenerConsumer(channelName: string, consumerId: number): boolean;
+
+ getChannelState(channelName: string): AGChannel.ChannelState;
+ getChannelOptions(channelName: string): object;
+
+ subscribe(channelName: string): AGChannel;
+ unsubscribe(channelName: string): Promise;
+ isSubscribed(channelName: string, includePending?: boolean): boolean;
+
+ transmitPublish(channelName: string, data: any): Promise;
+ invokePublish(channelName: string, data: any): Promise;
+
+ /* AGChannel.Client end */
+
+ transmit(event: string, packet: any): void;
+
+ destroy(): void;
+
+ channel(channelName: string): AGChannel;
+
+ closeAllChannelOutputs(): void;
+ closeAllChannelListeners(): void;
+ closeAllChannels(): void;
+
+ killAllChannelOutputs(): void;
+ killAllChannelListeners(): void;
+ killAllChannels(): void;
+
+ getAllChannelOutputsConsumerStatsList(): Consumer.ConsumerStats[];
+
+ getAllChannelListenersConsumerStatsList(): Consumer.ConsumerStats[];
+
+ getBackpressure(): number;
+ getAllChannelOutputsBackpressure(): number;
+ getAllChannelListenersBackpressure(): number;
+ getAllChannelsBackpressure(): number;
+
+ hasAnyChannelOutputConsumer(consumerId: number): boolean;
+ hasAnyChannelListenerConsumer(consumerId: number): boolean;
+
+ subscriptions(includePending?: boolean): string[];
+ }
+
+ interface SubscribeData {
+ channel: string;
+ }
+
+ interface UnsubscribeData {
+ channel: string;
+ }
+
+ interface PublishData {
+ channel: string;
+ date: any;
+ }
+}
diff --git a/types/hapi__cryptiles/tsconfig.json b/types/ag-simple-broker/tsconfig.json
similarity index 76%
rename from types/hapi__cryptiles/tsconfig.json
rename to types/ag-simple-broker/tsconfig.json
index 0efb6db692c390c..fb1b85de698c9a7 100644
--- a/types/hapi__cryptiles/tsconfig.json
+++ b/types/ag-simple-broker/tsconfig.json
@@ -2,7 +2,8 @@
"compilerOptions": {
"module": "commonjs",
"lib": [
- "es6"
+ "es6",
+ "esnext.asynciterable"
],
"noImplicitAny": true,
"noImplicitThis": true,
@@ -12,17 +13,17 @@
"typeRoots": [
"../"
],
+ "types": [],
"paths": {
- "@hapi/cryptiles": [
- "hapi__cryptiles"
+ "sc-channel": [
+ "sc-channel/v1"
]
},
- "types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
- "hapi__cryptiles-tests.ts"
+ "ag-simple-broker-tests.ts"
]
}
diff --git a/types/jest-matcher-utils/tslint.json b/types/ag-simple-broker/tslint.json
similarity index 100%
rename from types/jest-matcher-utils/tslint.json
rename to types/ag-simple-broker/tslint.json
diff --git a/types/agenda/tsconfig.json b/types/agenda/tsconfig.json
index 0a553809fd4f229..921eae2879339d4 100644
--- a/types/agenda/tsconfig.json
+++ b/types/agenda/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"agenda-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/agenda/tslint.json b/types/agenda/tslint.json
index 3d59f55fdabcf45..7b32077df7df7cc 100644
--- a/types/agenda/tslint.json
+++ b/types/agenda/tslint.json
@@ -1,80 +1,19 @@
{
"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,
- "npm-naming": 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
+ "space-before-function-paren": false
}
-}
+}
\ No newline at end of file
diff --git a/types/agora-rtc-sdk/index.d.ts b/types/agora-rtc-sdk/index.d.ts
index 81700ec99cdc425..7600e19ba2a39d1 100644
--- a/types/agora-rtc-sdk/index.d.ts
+++ b/types/agora-rtc-sdk/index.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for agora-rtc-sdk 2.6
+// Type definitions for agora-rtc-sdk 3.0
// Project: https://github.com/AgoraIO/web-archive#readme
// Definitions by: Menthays
// Derek Lu
@@ -26,7 +26,7 @@ declare namespace AgoraRTC {
* To share the screen on Electron, call this method to get the screen sources. See [Share the Screen](../../screensharing_web?platform=Web#electron) for details.
*
* If this method succeeds, the SDK returns a list of screen sources in an array of {@link DesktopCapturerSource} objects.
- * @example **Sample Code**
+ * @example **Sample code**
* ```javascript
* AgoraRTC.getScreenSources(function(err, sources) {
* console.log(sources)
@@ -70,7 +70,11 @@ declare namespace AgoraRTC {
*
* This method returns the codecs supported by both the Agora Web SDK and the web browser. The Agora Web SDK supports VP8 and H.264 for video, and OPUS for audio.
*
- * This method supports all web browsers. For web browsers that do not support WebRTC or are not recognized, the returned codec list is empty.
+ * **Note:**
+ *
+ * - This method supports all web browsers. For web browsers that do not support WebRTC or are not recognized, the returned codec list is empty.
+ * - The returned codec list is based on the [SDP](https://tools.ietf.org/html/rfc4566) used by the web browser and for reference only.
+ * - Some Android phones might claim to support H.264 but have problems in communicating with other platforms using H.264. In this case, we recommend using the VP8 codec.
*
* @returns Returns a `Promise` object. In the `.then(function(result){})` callback, `result` has the following properties:
* - `video`: array, the supported video codecs. The array might include `"H264"` and `"VP8"`, or be empty.
@@ -113,8 +117,12 @@ declare namespace AgoraRTC {
* This method enumerates the available media input and output devices, such as microphones, cameras, headsets, and so on.
*
* If this method succeeds, the SDK returns a list of media devices in an array of {@link MediaDeviceInfo} objects.
+ *
+ * **Note:**
+ *
+ * On Safari 12.1 or later, call this method after calling {@link createStream} successfully.
* @example
- * **Sample Code**
+ * **Sample code**
*
* ``` javascript
* AgoraRTC.getDevices (function(devices) {
@@ -213,8 +221,91 @@ declare namespace AgoraRTC {
*/
readonly kind: string;
}
+ /**
+ * Error messages of stream playback
+ *
+ * When [[Stream.play]] fails to play the stream, this interface provides detailed error messages.
+ *
+ * In most cases, you can prompt the user to resume the playback ([[Stream.resume]]) by a user gesture except when the {@link status} is "aborted".
+ */
+ interface StreamPlayError {
+ /**
+ * The status of the player:
+ * - "aborted": The player is removed before the stream is played successfully.
+ * - "paused": The player is stopped.
+ */
+ readonly status: string;
+ /**
+ * The reason why the playback fails. Usually, this value is an event that triggers the playback failure. Possible values include the following:
+ * - "stalled": The failure might be caused by the browser policy. See [stalled event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/stalled_event).
+ * - "pause": The stream playback might be paused by the user. See [pause event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/pause_event).
+ * - "suspend": The failure might be caused by the browser policy. See [suspend event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/suspend_event).
+ * - "canplay": Some browsers automatically stop the playback when the playback window is not displayed on the screen. See [canplay event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canplay_event).
+ * - "timer": The playback failure is caused by an unknown reason and captured by the internal timer.
+ *
+ * Due to the differences in browsers, `reason` might have different values for the same event.
+ */
+ readonly reason: string;
+ }
+ /**
+ * The video encoder configuration.
+ *
+ * This interface sets the video encoder configuration in {@link setVideoEncoderConfiguration}.
+ *
+ * Depending on the OS, browser, and camera, the actual resolution, frame rate, and bitrate might be different from the set values.
+ */
+ interface VideoEncoderConfiguration {
+ /**
+ * Resolution of the video.
+ *
+ * We recommend using common resolutions, for example:
+ *
+ * - 480 × 360
+ * - 640 × 480
+ * - 960 × 720
+ *
+ */
+ resolution?: {
+ /** Width of the video. The value range is [1,10000]. */
+ width: number,
+ /** Height of the video. The value range is [1,10000]. */
+ height: number,
+ };
+ /**
+ * The video frame rate (fps).
+ *
+ * The value range is [1, 10000]. We recommend setting the frame rate between 5 fps and 30 fps.
+ *
+ * **Note:**
+ * - This parameter sets the local capturing video frame rate. The actual encoding frame rate depends on the device, system, and browser.
+ * - When the network conditions change, the browser adjusts the encoding frame rate automatically.
+ */
+ frameRate?: {
+ /** The minimum frame rate. The SDK uses this value as the preferred frame rate. */
+ min: number,
+ /** The maximum frame rate. */
+ max: number,
+ };
+ /**
+ * The video bitrate (Kbps). The value range is [1,10000000].
+ *
+ * We recommend setting the bitrate between 100 Kbps and 5000 Kbps. You can refer to the table below and set your bitrate.
+ *
+ * [[include:VideoProfileDefinition.md]]
+ */
+ bitrate?: {
+ /** The minimum bitrate. */
+ min: number,
+ /** The maximum bitrate. */
+ max: number,
+ };
+ }
- /** Audio statistics of the remote stream. */
+ /**
+ * Audio statistics of the remote stream.
+ *
+ * If {@link getRemoteAudioStats} is called successfully, the {@link RemoteAudioStatsMap} interface provides the UID and {@link RemoteAudioStats} of each remote user.
+ */
interface RemoteAudioStats {
/**
* End-to-end delay in ms.
@@ -254,7 +345,11 @@ declare namespace AgoraRTC {
readonly TotalPlayDuration?: string;
}
- /** Audio statistics of the local stream. */
+ /**
+ * Audio statistics of the local stream.
+ *
+ * If {@link getLocalAudioStats} is called successfully, the {@link LocalAudioStatsMap} provides the UID and {@link LocalAudioStats} of the local user.
+ */
interface LocalAudioStats {
/** Energy level of the captured audio. */
readonly RecordingLevel?: string;
@@ -280,7 +375,11 @@ declare namespace AgoraRTC {
readonly MuteState?: string;
}
- /** Video statistics of the remote stream. */
+ /**
+ * Video statistics of the remote stream.
+ *
+ * If {@link getRemoteVideoStats} is called successfully, the {@link RemoteVideoStatsMap} interface provides the UID and {@link RemoteVideoStats} of each remote user.
+ */
interface RemoteVideoStats {
/**
* End-to-end delay in ms.
@@ -321,7 +420,11 @@ declare namespace AgoraRTC {
readonly RenderResolutionHeight?: string;
}
- /** Video statistics of the local stream. */
+ /**
+ * Video statistics of the local stream.
+ *
+ * If {@link getLocalVideoStats} is called successfully, the {@link LocalVideoStatsMap} interface provides the UID and {@link LocalVideoStats} of the local user.
+ */
interface LocalVideoStats {
/** Bitrate of the local video set in [[setVideoProfile]]. */
readonly TargetSendBitrate?: string;
@@ -354,7 +457,11 @@ declare namespace AgoraRTC {
readonly TotalDuration?: string;
}
- /** Statistics of the network connection. */
+ /**
+ * Statistics of the network connection.
+ *
+ * If {@link getTransportStats} is called successfully, this interface provides the statistics.
+ */
interface TransportStats {
/** RTT (Round-Trip Time) between the SDK and the access node of the SD-RTN, in ms. */
readonly RTT?: string;
@@ -373,7 +480,7 @@ declare namespace AgoraRTC {
*
* **Note:**
*
- * Chrome 61+ is required for this function, and the compatibility is not guaranteed.
+ * Chrome 61 or later is required for this function, and the compatibility is not guaranteed.
* See [Network Information API](https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API) for details.
*/
readonly NetworkType?: "bluetooth" | "cellular" | "ethernet" | "none" | "wifi" | "wimax" | "other" | "unknown" | "UNSUPPORTED";
@@ -381,7 +488,11 @@ declare namespace AgoraRTC {
readonly OutgoingAvailableBandwidth?: string;
}
- /** Statistics of the session connection. */
+ /**
+ * Statistics of the session connection.
+ *
+ * If {@link getSessionStats} is called successfully, this interface provides the statistics.
+ */
interface SessionStats {
/** Call duration in seconds, represented by an aggregate value. */
readonly Duration?: string;
@@ -404,10 +515,14 @@ declare namespace AgoraRTC {
readonly RecvBitrate?: string;
}
- /** Statistics of the network quality. */
+ /**
+ * Statistics of the network quality.
+ *
+ * After joining the channel, the SDK triggers the `"network-quality"` callback once every two seconds and provides the network quality ratings in this interface.
+ */
interface NetworkQualityStats {
/**
- * The uplink network quality.
+ * Uplink network quality rating of the user in terms of the transmission bitrate, packet loss rate, average RTT (Round-Trip Time) and jitter of the uplink network.
*
* - "0": The network quality is unknown.
* - "1": The network quality is excellent.
@@ -415,11 +530,11 @@ declare namespace AgoraRTC {
* - "3": Users can feel the communication slightly impaired.
* - "4": Users can communicate only not very smoothly.
* - "5": The network is so bad that users can hardly communicate.
- * - "6": The network is down and users cannot communicate at all.
+ * - "6": The network is disconnected and users cannot communicate at all.
*/
readonly uplinkNetworkQuality?: string;
/**
- * The downlink network quality.
+ * Downlink network quality rating of the user in terms of packet loss rate, average RTT, and jitter of the downlink network.
*
* - "0": The network quality is unknown.
* - "1": The network quality is excellent.
@@ -432,7 +547,45 @@ declare namespace AgoraRTC {
readonly downlinkNetworkQuality?: string;
}
- /** Manages the user layout configuration in the CDN live streaming. */
+ /**
+ * Adds a watermark image to the CDN (Content Delivery Network) live stream in {@link setLiveTranscoding}.
+ *
+ * **Since**
+ *
*3.0.0*
+ */
+ interface TranscodingWatermark {
+ /**
+ * The HTTP/HTTPS URL address of the image on the broadcasting video.
+ *
+ * ASCII characters only. The maximum length of this parameter is 1024 bytes. Only supports online PNG files.
+ */
+ url: string;
+ /**
+ * The position of the image on the upper left of the broadcasting video on the horizontal axis.
+ *
+ * Integer only. The value range is [0,10000]. The default value is 0.
+ */
+ x?: number;
+ /**
+ * The position of the image on the upper left of the broadcasting video on the vertical axis.
+ *
+ * Integer only. The value range is [0,10000]. The default value is 0.
+ */
+ y?: number;
+ /**
+ * The width of the watermark image.
+ *
+ * Integer only. The value range is [0,10000]. The default value is 160.
+ */
+ width?: number;
+ /**
+ * The height of the watermark image.
+ *
+ * Integer only. The value range is [0,10000]. The default value is 160.
+ */
+ height?: number;
+ }
+ /** Manages the user layout configuration in {@link setLiveTranscoding}. */
interface TranscodingUser {
/** User ID of the CDN live host. */
uid?: number | string;
@@ -483,22 +636,38 @@ declare namespace AgoraRTC {
alpha?: number;
}
- /** A list of `RemoteAudioStats` objects, one per uid. */
+ /**
+ * A list of `RemoteAudioStats` objects, one per uid.
+ *
+ * If {@link getRemoteAudioStats} is called successfully, this interface provides the UID and [[RemoteAudioStats]] of each remote user.
+ */
interface RemoteAudioStatsMap {
[uid: string]: RemoteAudioStats;
}
- /** A list of `LocalAudioStats` objects, one per uid. */
+ /**
+ * A list of `LocalAudioStats` objects, one per uid.
+ *
+ * If {@link getLocalAudioStats} is called successfully, this interface provides the UID and [[LocalAudioStats]] of the local user.
+ */
interface LocalAudioStatsMap {
[uid: string]: LocalAudioStats;
}
- /** A list of `RemoteVideoStats` objects, one per uid. */
+ /**
+ * A list of `RemoteVideoStats` objects, one per uid.
+ *
+ * If {@link getRemoteVideoStats} is called successfully, this interface provides the UID and [[RemoteVideoStats]] of each remote user.
+ */
interface RemoteVideoStatsMap {
[uid: string]: RemoteVideoStats;
}
- /** A list of `LocalVideoStats` objects, one per uid. */
+ /**
+ * A list of `LocalVideoStats` objects, one per uid.
+ *
+ * If {@link getLocalVideoStats} is called successfully, this interface provides the UID and [[LocalVideoStats]] of each remote user.
+ */
interface LocalVideoStatsMap {
[uid: string]: LocalVideoStats;
}
@@ -526,7 +695,7 @@ declare namespace AgoraRTC {
*
* The log level follows the sequence of NONE, ERROR, WARNING, INFO, and DEBUG.
* For example, if you set the log level as `AgoraRTC.Logger.setLogLevel(AgoraRTC.Logger.INFO);`, then you can see logs in levels INFO, ERROR, and WARNING.
- * @param level The output log level.
+ * @param level The output log level. The default value is {@link DEBUG}.
*/
function setLogLevel(level: DEBUG|INFO|WARNING|ERROR|NONE): void;
/**
@@ -563,7 +732,7 @@ declare namespace AgoraRTC {
*
* [[include:ClientConfig-example.md]]
* @example
- * **Sample Code**
+ * **Sample code**
* ``` javascript
* var config = {
* mode: "live",
@@ -597,21 +766,22 @@ declare namespace AgoraRTC {
* - For Native SDK v2.3.2 and later:
* * Set {@link mode} as `"rtc"` or `"live"` if the Native SDK uses the communication channel profile.
* * Set {@link mode} as `"live"` if the Native SDK uses the live broadcast channel profile.
- * - For Native SDK before v2.3.2, set mode as "live" regardless of which channel profile the Native SDK uses.
+ * - For Native SDK before v2.3.2, set mode as "live" regardless of which channel profile the Native SDK uses.
*
* **Note:**
*
- * If you set {@link mode} as `"rtc"`, the Agora Recording SDK is not supported.
+ * The `"rtc"` mode supports the Agora Recording SDK 2.3.3 or later.
*/
mode: "live" | "rtc";
/**
- * The codec the Web browser uses for encoding and decoding.
- * - `"vp8"`: Sets the browser to use VP8 for encoding and decoding.
- * - `"h264"`: Sets the browser to use H264 for encoding and decoding.
+ * The codec the Web browser uses for encoding.
+ * - `"vp8"`: Sets the browser to use VP8 for encoding.
+ * - `"h264"`: Sets the browser to use H.264 for encoding.
*
* **Note:**
*
- * Set {@link codec} as `"h264"` as long as Safari is involved in the session.
+ * - Safari 12.1 or earlier does not support the VP8 codec.
+ * - Codec support on mobile devices is a bit complex, see [Use Agora Web SDK on Mobile Devices](https://docs.agora.io/en/faq/web_on_mobile) for details.
*/
codec: "vp8" | "h264";
/**
@@ -648,16 +818,15 @@ declare namespace AgoraRTC {
}
/**
- * A class for managing user-specific CDN live audio/video transcoding settings.
+ * A class for managing user-specific CDN live audio/video transcoding settings in {@link setLiveTranscoding}.
*
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* var LiveTranscoding = {
* width: 640,
* height: 360,
* videoBitrate: 400,
* videoFramerate: 15,
- * lowLatency: false,
* audioSampleRate: AgoraRTC.AUDIO_SAMPLE_RATE_48000,
* audioBitrate: 48,
* audioChannels: 1,
@@ -673,28 +842,38 @@ declare namespace AgoraRTC {
/**
* Width of the video.
*
- * Positive integer, the default value is 640. The value range is [1, 10000].
+ * Positive integer, the default value is 640. The value range is [64, 10000].
+ *
+ * - When pushing video streams to the CDN, set the value of width × height to at least 64 × 64, or the SDK adjusts it to 64 x 64.
+ * - When pushing audio streams to the CDN, set the value of width × height to 0 × 0.
*/
width?: number;
/**
* Height of the video.
*
- * Positive integer, the default value is 360. The value range is [1, 10000].
+ * Positive integer, the default value is 360. The value range is [64, 10000].
+ *
+ * - When pushing video streams to the CDN, set the value of width × height to at least 64 × 64, or the SDK adjusts it to 64 x 64.
+ * - When pushing audio streams to the CDN, set the value of width × height to 0 × 0.
*/
height?: number;
/**
* Bitrate of the CDN live output video stream.
*
* Positive integer. The default value is 400 Kbps. The value range is [1,1000000].
+ *
+ * Set the bitrate according to the {@link AgoraRTC.VideoEncoderConfiguration.bitrate Video Profile Table}. If you set a bitrate beyond the proper range, the SDK automatically adapts it to a value within the range.
*/
videoBitrate?: number;
/**
* Frame rate of the output data stream set for CDN live.
*
- * Positive integer. The default value is 15 fps. The value range is [1, 10000].
+ * Positive integer. The default value is 15 fps. The value range is [1, 30]. Agora adjusts all values over 30 to 30.
*/
videoFramerate?: number;
/**
+ * **DEPRECATED**
+ *
* Latency mode:
* - true: Low latency with unassured quality.
* - false: (Default)High latency with assured quality.
@@ -729,7 +908,9 @@ declare namespace AgoraRTC {
/** Video GOP in frames. The default value is 30 frames. The value range is [1,10000]. */
videoGop?: number;
/**
- * Video codec profile type:
+ * Video codec profile type.
+ *
+ * Set it as 66, 77, or 100 (default). If you set this parameter to other values, Agora adjusts it to the default value 100.
*
* - 66: Baseline video codec profile. Generally used in video calls on mobile phones.
* - 77: Main video codec profile.Generally used in mainstream electronics, such as MP4 players, portable video players, PSP, and iPads.
@@ -749,13 +930,22 @@ declare namespace AgoraRTC {
*
* Agora supports a maximum of 17 transcoding users in a CDN streaming channel. See [[TranscodingUser]] for details.
*/
- transcodingUsers?: TranscodingUser[];
+ transcodingUsers: TranscodingUser[];
+ /**
+ * Adds a watermark image to the CDN live stream.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * See [[TranscodingWatermark]] for details.
+ */
+ images: TranscodingWatermark[];
}
/**
- * A class for configuring the imported live broadcast voice or video stream.
+ * A class for configuring the imported live broadcast voice or video stream in {@link addInjectStreamUrl}.
*
- * @example **Sample Code**
+ * @example **Sample code**
* ```javascript
* var InjectStreamConfig = {
* width: 0,
@@ -857,9 +1047,26 @@ declare namespace AgoraRTC {
*/
video: boolean;
/**
- * Marks whether this stream contains a screen-sharing track.
+ * Marks whether this stream contains a screen-sharing track. See [Share the Screen](../../../screensharing_web?platform=Web) for details.
*/
screen?: boolean;
+ /**
+ * Marks whether to share the audio playback when sharing the screen.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * - `true`: Share the local audio playback when sharing the screen.
+ * - `false`: (Default) Do not share the local audio playback when sharing the screen.
+ *
+ * To share the local audio playback when sharing the screen, ensure that you set {@link screen} as `true`. We recommend also setting {@link audio} as `false`. If both `screenAudio` and `audio` are set as `true`, the stream only contains the local audio playback.
+ *
+ * **Note:**
+ *
+ * - This function supports only Chrome 73 or later on Windows.
+ * - For the audio sharing to take effect, the user must check **Share audio** in the pop-up window when sharing the screen.
+ */
+ screenAudio?: boolean;
/**
* Specifies the audio source of the stream.
*/
@@ -875,19 +1082,36 @@ declare namespace AgoraRTC {
/**
* The camera device ID retrieved from the {@link getDevices} method.
*
- * The retrieved ID is ASCII characters, and the string length is greater than 0 and less than 256 bytes.
+ * The retrieved ID is ASCII characters, and the string length is greater than or equals to 0 and less than 256 bytes.
+ *
+ * When the string length is 0, this property is ignored.
*/
cameraId?: string;
/**
* The microphone device ID retrieved from the {@link getDevices} method.
*
- * The retrieved ID is ASCII characters, and the string length is greater than 0 and less than 256 bytes.
+ * The retrieved ID is ASCII characters, and the string length is greater than or equals to 0 and less than 256 bytes.
+ *
+ * When the string length is 0, this property is ignored.
*/
microphoneId?: string;
/**
- * Marks whether the video image of the publisher is mirrored on the publisher’s webpage.
+ * Sets using the front or rear camera
+ *
+ * You can set this parameter to use the front or rear camera on mobile devices:
+ * - `"user"`: The front camera.
+ * - `"environment"`: The rear camera.
+ */
+ facingMode?: string;
+ /**
+ * Marks whether to mirror the local video image of the publisher in the local preview.
+ *
+ * This setting does not take effect in screen-sharing streams.
*
- * The default value is `true` (except in the screen-share mode). Agora recommends enabling this function when using the front camera, and disabling it when using the rear camera.
+ * - `true`: (Default) Mirror the local video.
+ * - `false`: Do not mirror the local video.
+ *
+ * Agora recommends enabling this function when using the front camera, and disabling it when using the rear camera.
*/
mirror?: boolean;
/**
@@ -957,6 +1181,8 @@ declare namespace AgoraRTC {
/**
* The connection statistics of the local stream.
+ *
+ * If the local stream calls {@link getStats} successfully, this interface provides the statistics.
*/
interface LocalStreamStats {
/** Bytes of the sent audio. */
@@ -989,6 +1215,8 @@ declare namespace AgoraRTC {
/**
* The connection statistics of the remote stream.
+ *
+ * If the remote stream calls {@link getStats} successfully, this interface provides the statistics.
*/
interface RemoteStreamStats {
/** Bytes of the received audio. */
@@ -1008,9 +1236,9 @@ declare namespace AgoraRTC {
/** Decode frame rate after the video is received. */
videoReceiveDecodeFrameRate: string;
/** Resolution width of the received video. */
- videoReceivedResolutionWidth?: string;
+ videoReceiveResolutionWidth?: string;
/** Resolution height of the received video. */
- videoReceivedResolutionHeight?: string;
+ videoReceiveResolutionHeight?: string;
/** Delay in accessing the SD-RTN (ms). */
accessDelay: string;
/**
@@ -1051,7 +1279,11 @@ declare namespace AgoraRTC {
NetworkType: "bluetooth" | "cellular" | "ethernet" | "none" | "wifi" | "wimax" | "other" | "unknown" | "UNSUPPORTED";
}
- /** System statistics. */
+ /**
+ * System statistics.
+ *
+ * If {@link getSystemStats} is called successfully, this interface provides the system statistics.
+ */
interface SystemStats {
/** Battery level of the system (%). */
BatteryLevel: 'string';
@@ -1062,7 +1294,7 @@ declare namespace AgoraRTC {
*
* A stream represents a published local or remote media stream object in a call session.
*
- * All Stream methods can be called for both local and remote streams, except for {@link Stream.init} that only applies to the local stream.
+ * All Stream methods can be called for both local and remote streams if not specified.
*/
interface Stream {
/** Occurs when the user gives access to the camera and microphone. */
@@ -1071,6 +1303,18 @@ declare namespace AgoraRTC {
on(event: "accessDenied", callback: (evt: any) => void): void;
/** Occurs when screen-sharing stops. */
on(event: "stopScreenSharing", callback: (evt: any) => void): void;
+ /**
+ * Occurs when the video track no longer provides data to the stream.
+ *
+ * Possible reasons include device removal and deauthorization. See [MediaStreamTrack.onended](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended).
+ */
+ on(event: "videoTrackEnded", callback: (evt: any) => void): void;
+ /**
+ * Occurs when the audio track no longer provides data to the stream.
+ *
+ * Possible reasons include device removal and deauthorization. See [MediaStreamTrack.onended](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/onended).
+ */
+ on(event: "audioTrackEnded", callback: (evt: any) => void): void;
/**
* Occurs when the audio mixing stream playback starts/resumes.
*
@@ -1080,6 +1324,48 @@ declare namespace AgoraRTC {
on(event: "audioMixingPlayed", callback: (evt: any) => void): void;
/** Occurs when the last audio mixing stream playback finishes. */
on(event: "audioMixingFinished", callback: (evt: any) => void): void;
+ /**
+ * Occurs when the stream playback status changes.
+ *
+ * On Windows, frequent DOM manipulations might cause the browser to pause the Chrome player. To avoid this, you can listen for this event and call the {@link Stream.resume} method to resume the playback.
+ *
+ * This callback has the following properties.
+ * - isErrorState: Whether or not the playback fails.
+ * - true: The playback fails.
+ * - false: The playback is normal.
+ * - mediaType: The player type.
+ * - "audio": Audio player.
+ * - "video": Video player.
+ * - status: The playback status.
+ * - "play": Playing.
+ * - "aborted": The player is removed before the stream is played successfully.
+ * - "paused": The player is stopped.
+ * - reason: The reason why the playback status changes. Usually, this value is the event that triggers the status change. Possible values include the following:
+ * - "playing": The playback starts. See [HTMLMediaElement: playing event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playing_event).
+ * - "stalled": The failure might be caused by the browser policy. See [stalled event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/stalled_event).
+ * - "pause": The stream playback might be paused by the user. See [pause event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/pause_event).
+ * - "suspend": The failure might be caused by the browser policy. See [suspend event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/suspend_event).
+ * - "canplay": Some browsers automatically stop the playback when the playback window is not displayed on the screen. See [canplay event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canplay_event).
+ * - "timer": The playback failure is caused by an unknown reason and captured by the internal timer.
+ *
+ * @example **Sample code**
+ *
+ * ``` javascript
+ * stream.on("player-status-change", function(evt){
+ * if (evt.isErrorState && evt.status === "paused"){
+ * console.error(`Stream is paused unexpectedly. Trying to resume...`);
+ * stream.resume().then(function(){
+ * console.log(`Stream is resumed successfully`);
+ * }).catch(function(e){
+ * console.error(`Failed to resume stream. Error ${e.name} Reason ${e.message}`);
+ * });
+ * }
+ * });
+ *
+ * ```
+ *
+ */
+ on(event: "player-status-change", callback: (evt: any) => void): void;
/**
* Initializes the Stream Object
*
@@ -1102,7 +1388,7 @@ declare namespace AgoraRTC {
*
* The `info` field shows the extra information for the error. If no more extra information, its value will be `null`.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* init(function() {
@@ -1118,7 +1404,7 @@ declare namespace AgoraRTC {
* @param onSuccess The callback when the method succeeds.
* @param onFailure The callback when the method fails.
*/
- init(onSuccess?: () => void, onFailure?: (err: any) => void): void;
+ init(onSuccess?: () => void, onFailure?: (err: { type: "warning" | "error", msg: string, info?: string }) => void): void;
/**
* Plays the Audio/Video Stream
*
@@ -1128,14 +1414,21 @@ declare namespace AgoraRTC {
*
* Due to browser policy changes, this method must be triggered by the user's gesture on the Chrome 70+ and Safari browsers.
* See [Autoplay Policy Changes](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes) for details.
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
- * stream.play("agora_remote", {fit: 'contain'}); // stream will be played in the element with the ID agora_remote
+ * stream.play("agora_remote", {fit: "contain"}, function(errState){
+ * if (errState && errState.status !== "aborted"){
+ * // The playback fails, probably due to browser policy. You can resume the playback by user gesture.
+ * }
+ * }); // stream will be played in the element with the ID agora_remote
* ```
* @param HTMLElementID Represents the HTML element ID. Digits and letters in the ASCII character set, “_”, “-", and ".". The string length must be greater than 0 and less than 256 bytes.
* @param option Options for playing the stream.
- *
+ * @param callback Whether or not the playback succeeds.
+ * - err
+ * - `null` if the playback succeeds.
+ * - [[StreamPlayError]] if the playback fails.
*/
play(HTMLElementID: string, option?: {
/**
@@ -1161,9 +1454,17 @@ declare namespace AgoraRTC {
* For more information, see [Autoplay Policy Changes](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes).
*/
muted?: boolean,
- }): void;
+ }, callback?: (err: null | StreamPlayError) => void): void;
+ /**
+ * Resumes the Audio/Video Stream Playback
+ *
+ * This method can be used when the playback fails after calling the {@link Stream.play} method. In most cases, the playback is stopped due to the browser policy.
+ *
+ * This method needs to be triggered by a user gesture. See [Autoplay Policy Changes](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes) for more information.
+ */
+ resume(): Promise;
/**
- * Stops the Audio/Video Stream
+ * Stops the Audio/Video Stream Playback
*
* Call this method to stop playing the stream set by {@link Stream.play}.
*/
@@ -1189,6 +1490,8 @@ declare namespace AgoraRTC {
*
* This method enables the audio track in the stream.
*
+ * If you call this method to enable the audio track for local streams, the `Client.on("unmute-audio")` callback is triggered on the remote client.
+ *
* **Note:** For local streams, it works only when the audio flag is `true` in the stream.
*
* By default the audio track is enabled. If you call {@link muteAudio}, call this method to enable audio.
@@ -1202,7 +1505,7 @@ declare namespace AgoraRTC {
*
* This method disables the audio track in the stream.
*
- * - For local streams, the SDK stops sending audio after you call this method.
+ * - For local streams, this method call stops sending audio and triggers the `Client.on("mute-audio")` callback on the remote client.
* - For remote streams, the SDK still receives audio but stops playing it after you call this method.
*
* **Note:** For local streams, it works only when the audio flag is `true` in the stream.
@@ -1216,6 +1519,8 @@ declare namespace AgoraRTC {
*
* This method enables the video track in the stream.
*
+ * If you call this method to enable the audio track for local streams, the `Client.on("unmute-video")` callback is triggered on the remote client.
+ *
* **Note:** For local streams, it works only when the video flag is `true` in the stream.
*
* By default the video track is enabled. If you call {@link muteVideo}, call this method to enable video.
@@ -1229,7 +1534,7 @@ declare namespace AgoraRTC {
*
* This method disables the video track in the stream.
*
- * - For local streams, the SDK stops sending video after you call this method.
+ * - For local streams, this method call stops sending video and triggers the `Client.on("mute-video")` callback on the remote client.
* - For remote streams, the SDK still receives video but stops playing it after you call this method.
*
* **Note:** For local streams, it works only when the video flag is `true` in the stream.
@@ -1286,7 +1591,7 @@ declare namespace AgoraRTC {
/**
* Retrieves the Audio Flag
*
- * This method retrieves the audio flag.
+ * This method retrieves the audio flag and only works for local streams.
* @returns
* - true: The stream contains audio data.
* - false: The stream does not contain audio data.
@@ -1295,7 +1600,7 @@ declare namespace AgoraRTC {
/**
* Retrieves the Video Flag
*
- * This method retrieves the video flag.
+ * This method retrieves the video flag and only works for local streams.
* @returns
* - true: The stream contains video data.
* - false: The stream does not contain video data.
@@ -1307,7 +1612,7 @@ declare namespace AgoraRTC {
* This method retrieves the current audio level.
*
* Call `setTimeout` or `setInterval` to retrieve the local or remote audio change.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* setInterval(function() {
* var audioLevel = stream.getAudioLevel();
@@ -1321,8 +1626,10 @@ declare namespace AgoraRTC {
*
* Due to browser policy changes, this method must be triggered by the user's gesture on the Chrome 70+ and Safari browser.
* See [Autoplay Policy Changes](https://developers.google.com/web/updates/2017/09/autoplay-policy-changes) for details.
+ *
+ * @returns The audio level. The value range is [0,1].
*/
- getAudioLevel(): number;
+ getAudioLevel(): number | void;
/**
* Retrieves the Audio Track
*
@@ -1351,12 +1658,13 @@ declare namespace AgoraRTC {
* **Note:**
*
* - Supports Chrome 65+, Safari, and latest Firefox.
+ * - This method might not take effect on some mobile devices.
* - Firefox does not support switching audio tracks between different microphones. You can replace the audio track from the microphone with an audio file, or vice versa.
* - Replacing audio tracks from external audio devices may not be fully supported on Safari.
* - The subscriber will not be notified if the track gets replaced.
* - Agora recommends you use [[switchDevice]] to switch the media input devices.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ```javascript
* // Suppose we have a localStream1
@@ -1370,7 +1678,10 @@ declare namespace AgoraRTC {
*
* @param MediaStreamTrack The new track.
* @param onSuccess The callback when the method succeeds.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - `"INVALID_TRACK"` and `"INVALID_TRACK_TYPE"`: The MediaStreamTrack object cannot be recognized.
+ * - `"MEDIASTREAM_TRACK_NOT_FOUND"`: The track to be replaced is not found, for example, replacing a video track in an audio-only stream.
+ * - `"NO_STREAM_FOUND"`: The local stream object is not found.
*/
replaceTrack(MediaStreamTrack: MediaStreamTrack,
onSuccess?: () => void,
@@ -1380,9 +1691,11 @@ declare namespace AgoraRTC {
*
* This method adds the audio or video tracks into the stream.
*
+ * When the track is added, the `Client.on("stream-updated")` is triggered on the remote client.
+ *
* @param track The track can be retrieved from the `mediaStream` method.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ```javascript
* var localStream = AgoraRTC.createStream({audio: true, video: false});
@@ -1391,7 +1704,7 @@ declare namespace AgoraRTC {
*
* **Note:**
*
- * - Firefox does not support this function.
+ * - This method does not support Firefox and Safari.
* - A Stream object can have only one audio track and one video track at most.
*/
addTrack(track: MediaStreamTrack): void;
@@ -1400,11 +1713,14 @@ declare namespace AgoraRTC {
*
* This method removes the audio or video tracks from the stream.
*
+ * When the track is removed, the `Client.on("stream-updated")` callback is triggered on the remote client.
+ *
* **Note:**
*
- * If you need to change both the audio and video tracks, Agora recommend using the [[replaceTrack]] method instead.
+ * - If you need to change both the audio and video tracks, we recommend using the [[replaceTrack]] method instead.
+ * - This method does not support Firefox and Safari.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ```javascript
* var localStream = AgoraRTC.createStream({audio: true, video: true});
@@ -1412,16 +1728,12 @@ declare namespace AgoraRTC {
* ```
*
* @param track The track can be retrieved from the `mediaStream` method.
- *
- * **Note:**
- *
- * Firefox does not support this function.
*/
removeTrack(track: MediaStreamTrack): void;
/**
* Sets the Audio Profile
*
- * This method sets the audio profile.
+ * This method sets the audio profile of the local stream.
*
* It is optional and works only when called before {@link Stream.init}. The default value is `"music_standard"`.
*
@@ -1431,7 +1743,7 @@ declare namespace AgoraRTC {
*
* - Firefox does not support setting the audio encoding rate.
* - Safari does not support stereo audio.
- * - The latest version of Google Chrome does not support playing stereo audio, but supports sending a stereo audio stream.
+ * - Google Chrome does not support playing stereo audio, but supports sending a stereo audio stream. If the audio profile is set to stereo, the `AEC`, `AGC`, and `ANS` options in {@link audioProcessing} are automatically disabled.
*
* @param profile The audio profile has the following options:
* - `"speech_low_quality"`: Sample rate 16 kHz, mono, encoding rate 24 Kbps.
@@ -1455,16 +1767,14 @@ declare namespace AgoraRTC {
/**
* Sets the Audio Output
*
- * This method sets the audio output device for the remote stream. You can use it to switch between the microphone and the speakerphone.
- *
- * It can be called either before or after the remote stream is played.
+ * This method sets the audio output device for the remote stream. You can use it to switch between the speakerphones. It can be called either before or after the remote stream is played.
*
* **Note:**
*
- * Only Chrome 49+ supports this function.
- * @param deviceId The device ID can be retrieved from {@link getDevices}, whose [[kind]] should be "audiooutput".
- *
- * The retrieved ID is ASCII characters, and the string length is greater than 0 and less than 256 bytes.
+ * Only Chrome 49 or later supports this function.
+ * @param deviceId The device ID can be retrieved from {@link getDevices}, whose [[kind]] should be "audiooutput". The retrieved ID is ASCII characters, and the string length is greater than 0 and less than 256 bytes.
+ * @param onSuccess The callback when the method succeeds.
+ * @param onFailure The callback when the method fails.
*/
setAudioOutput(deviceId: string,
onSuccess?: () => void,
@@ -1479,15 +1789,17 @@ declare namespace AgoraRTC {
*
* If you call this method after [[publish]], there is no need to re-publish the stream after switching the device.
*
- * **Note:**
- *
* This method does not support the following scenarios:
*
* - Dual-stream mode is enabled by [[enableDualStream]].
+ * - During audio mixing.
* - The remote stream.
* - The stream is created by defining the [[audioSource]] and [[videoSource]] properties.
* - The Firefox browser.
*
+ * **Note:**
+ *
+ * This method might not take effect on some mobile devices.
* @param type Type of the device: "audio" or "video".
* @param deviceId Device ID, which can be retrieved from [[getDevices]]. The retrieved ID is ASCII characters, and the string length is greater than 0 and less than 256 bytes.
* @param onSuccess The callback when the method succeeds.
@@ -1502,16 +1814,59 @@ declare namespace AgoraRTC {
/**
* Sets the Video Profile
*
- * This method sets the video profile.
+ * This method sets the video encoding profile for the local stream. Each video encoding profile includes a set of parameters, such as the resolution, frame rate, and bitrate. The default value is `"480p_1"`.
*
- * It is optional and works only when called before {@link Stream.init}. The default value is `"480p_1"`.
+ * This method is optional and is usually called before {@link Stream.init}. From v2.7, you can also call this method after {@link Stream.init} to change the video encoding profile.
+ *
+ * **Note:**
*
+ * - Do not call this method when publishing streams.
+ * - On some iOS devices, when you update the video profile after {@link Stream.init}, black bars might appear around your video.
+ * - Changing the video profile after {@link Stream.init} works only on Chrome 63 or later and Safari 11 or later.
* @example `setVideoProfile("480p");`
* @param profile The video profile. See the following table for its definition and supported profiles in different scenarios.
*
* [[include:VideoProfileDefinition.md]]
*/
setVideoProfile(profile: string): void;
+ /**
+ * Customizes the Video Encoder Configuration
+ *
+ * You can use this method to customize the video resolution, frame rate, and bitrate of the local stream. This method can be called before or after {@link Stream.init}.
+ *
+ * **Note:**
+ *
+ * - Do not call this method when publishing streams.
+ * - On some iOS devices, when you update the video encoder configuration after {@link Stream.init}, black bars might appear around your video.
+ * - The actual resolution, frame rate, and bitrate depend on the device, see [MediaStreamTrack.applyConstraints()](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/applyConstraints) for more information.
+ * - This method works on Chrome 63 or later and is not fully functional on other browsers with the following issues:
+ * - The frame rate setting does not take effect on Safari 12 or earlier.
+ * - Safari 11 or earlier only supports specific resolutions.
+ * - Safari on iOS does not support low resolutions in H.264 codec.
+ *
+ * @example **Sample code**
+ * ```javascript
+ * stream.setVideoEncoderConfiguration({
+ * // Video resolution
+ * resolution: {
+ * width: 640,
+ * height: 480
+ * },
+ * // Video encoding frame rate. We recommend 15 fps. Do not set this to a value greater than 30.
+ * frameRate: {
+ * min: 15,
+ * max: 30
+ * },
+ * // Video encoding bitrate.
+ * bitrate: {
+ * min: 1000,
+ * max: 5000
+ * }
+ * });
+ * ```
+ *
+ */
+ setVideoEncoderConfiguration(config: VideoEncoderConfiguration): void;
/**
* Sets the Screen Profile
*
@@ -1528,6 +1883,10 @@ declare namespace AgoraRTC {
*
* You can specify the number of playback loops and play time duration.
*
+ * When the audio mixing file playback starts, the SDK triggers the `Stream.on("audioMixingPlayed")` callback on the local client.
+ *
+ * When the audio mixing file playback finishes, the SDK triggers the `Stream.on("audioMixingFinished")` callback on the local client.
+ *
* **Note:**
*
* - This method supports the following browsers:
@@ -1543,12 +1902,16 @@ declare namespace AgoraRTC {
* The callback of this method:
*
* - null: The method succeeds.
- * - err: The method fails.
+ * - err: The method fails. Possible errors:
+ *
+ * - "BROWSER_NOT_SUPPORT": Does not support the current browser.
+ * - "LOAD_AUDIO_FAILED": Fails to load the online audio file.
+ * - "CREATE_BUFFERSOURCE_FAILED": Fails to create buffer for audio mixing.
*
* **Note:**
* The callbacks of the other audio mixing methods are the same as this one, using the Node.js callback pattern.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* stream.startAudioMixing({
@@ -1613,6 +1976,7 @@ declare namespace AgoraRTC {
/**
* Stops Audio Mixing
*
+ * When the audio mixing file playback is stopped, the SDK triggers the `Stream.on("audioMixingFinished")` callback on the local client.
*/
stopAudioMixing(callback?: (err: string | null) => void): void;
/**
@@ -1623,6 +1987,7 @@ declare namespace AgoraRTC {
/**
* Resumes Audio Mixing
*
+ * When the audio mixing file playback resumes, the SDK triggers the `Stream.on("audioMixingPlayed")` callback on the local client.
*/
resumeAudioMixing(callback?: (err: string | null) => void): void;
/**
@@ -1938,6 +2303,72 @@ declare namespace AgoraRTC {
resumeAllEffects(
callback?: (err: string | null) => void
): void;
+ /**
+ * Enables/Disables image enhancement and sets the options.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * This method supports the following browsers:
+ * * Safari 12 or later
+ * * Chrome 65 or later
+ * * Firefox 70.0.1 or later
+ *
+ * **Note:**
+ *
+ * - This function does not support mobile devices.
+ * - If the dual-stream mode is enabled ({@link enableDualStream}), the image enhancement options apply only to the high-video stream.
+ * - To remove a video track ({@link removeTrack}) after enabling image enhancement, call this method to disable image enhancement first.
+ *
+ * @param enabled Sets whether to enable image enhancement:
+ *
+ * - `true`: Enables image enhancement.
+ * - `false`: (Default) Disables image enhancement.
+ * @param options The image enhancement options.
+ *
+ * @example **Sample code**
+ *
+ * ``` javascript
+ * stream.setBeautyEffectOptions(true, {
+ * lighteningContrastLevel: 1,
+ * lighteningLevel: 0.7,
+ * smoothnessLevel: 0.5,
+ * rednessLevel: 0.1
+ * });
+ *
+ * ```
+ */
+ setBeautyEffectOptions(
+ enabled: boolean,
+ options: {
+ /**
+ * The contrast level, used with the `lighteningLevel` parameter.
+ *
+ * - 0: Low contrast level.
+ * - 1: (Default) The original contrast level.
+ * - 2: High contrast level.
+ */
+ lighteningContrastLevel?: number,
+ /**
+ * The brightness level.
+ *
+ * The value ranges from 0.0 (original) to 1.0. The default value is 0.7.
+ */
+ lighteningLevel?: number,
+ /**
+ * The sharpness level.
+ *
+ * The value ranges from 0.0 (original) to 1.0. The default value is 0.5. This parameter is usually used to remove blemishes.
+ */
+ smoothnessLevel?: number,
+ /**
+ * The redness level.
+ *
+ * The value ranges from 0.0 (original) to 1.0. The default value is 0.1. This parameter adjusts the red saturation level.
+ */
+ rednessLevel?: number
+ },
+ ): void;
/**
* Retrieves the Stream ID
*
@@ -1960,7 +2391,7 @@ declare namespace AgoraRTC {
* - If it is a subscribing stream, then the stats is {@link RemoteStreamStats}.
*
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* localStream.getStats((stats) => {
@@ -2003,9 +2434,40 @@ declare namespace AgoraRTC {
* The Client object returned by the {@link createClient} method provides access to much of the core AgoraRTC functionality.
*/
interface Client {
+ /**
+ * Occurs when the first remote audio frame is decoded.
+ *
+ * The SDK triggers this callback when the local client successfully subscribes to a remote stream and decodes the first audio frame.
+ *
+ * **Note:** This callback supports only the Google Chrome browser.
+ * @example **Sample code**
+ * ``` javascript
+ * client.on('first-audio-frame-decode', function (evt) {
+ * console.log('first-audio-frame-decode');
+ * console.log(evt.stream);
+ * })
+ *
+ * ```
+ */
+ on(event: "first-audio-frame-decode", callback: (evt: any) => void): void;
+ /**
+ * Occurs when the first remote video frame is decoded.
+ *
+ * The SDK triggers this callback when the local client successfully subscribes to a remote stream and decodes the first video frame.
+ *
+ * @example **Sample code**
+ * ``` javascript
+ * client.on('first-video-frame-decode', function (evt) {
+ * console.log('first-video-frame-decode');
+ * console.log(evt.stream);
+ * })
+ *
+ * ```
+ */
+ on(event: "first-video-frame-decode", callback: (evt: any) => void): void;
/**
* Occurs when the local stream is published.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("stream-published", function(evt) {
* console.log("local stream published");
@@ -2017,7 +2479,11 @@ declare namespace AgoraRTC {
on(event: "stream-published", callback: (evt: any) => void): void;
/**
* Occurs when the remote stream is added.
- * @example **Sample Code**
+ *
+ * **Note:**
+ *
+ * When the local user joins the channel, if other users are already in the channel, the SDK also reports to the app on the existing remote streams.
+ * @example **Sample code**
* ``` javascript
* client.on("stream-added", function(evt) {
* var stream = evt.stream;
@@ -2032,7 +2498,7 @@ declare namespace AgoraRTC {
on(event: "stream-added", callback: (evt: any) => void): void;
/**
* Occurs when the remote stream is removed; for example, a peer user calls {@link Client.unpublish}.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("stream-removed", function(evt) {
* var stream = evt.stream;
@@ -2045,7 +2511,7 @@ declare namespace AgoraRTC {
on(event: "stream-removed", callback: (evt: any) => void): void;
/**
* Occurs when a user subscribes to a remote stream.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("stream-subscribed", function(evt) {
* var stream = evt.stream;
@@ -2058,21 +2524,66 @@ declare namespace AgoraRTC {
*/
on(event: "stream-subscribed", callback: (evt: any) => void): void;
/**
- * Occurs when the peer user leaves the channel; for example, the peer user calls {@link Client.leave}.
- * @example **Sample Code**
- * ``` javascript
- * client.on("peer-leave", function(evt) {
- * var uid = evt.uid;
- * console.log("remote user left ", uid);
- * //……
- * });
+ * Occurs when a remote user or host joins the channel.
*
- * ```
- */
- on(event: "peer-leave", callback: (evt: any) => void): void;
+ * - Communication channel (rtc mode): This callback notifies the app that another user joins the channel.
+ * If other users are already in the channel, the SDK also reports to the app on the existing users.
+ * - Live-broadcast channel (live mode): This callback notifies the app that the host joins the channel.
+ * If other hosts are already in the channel, the SDK also reports to the app on the existing hosts. Agora recommends limiting the number of hosts to 17.
+ *
+ * The SDK triggers this callback under one of the following circumstances:
+ * - A remote user/host joins the channel by calling the [[Client.join]] method.
+ * - A remote user switches the user role to the host by calling the [[Client.setClientRole]] method after joining the channel.
+ * - A remote user/host rejoins the channel after a network interruption.
+ * - The host injects an online media stream into the channel by calling the [[Client.addInjectStreamUrl]] method.
+ *
+ * @example **Sample code**
+ *
+ * ```javascript
+ * client.on('peer-online', function(evt) {
+ * console.log('peer-online', evt.uid);
+ * });
+ * ```
+ *
+ */
+ on(event: "peer-online", callback: (evt:
+ /** @param uid ID of the user or host who joins the channel. */
+ { uid: string }) => void): void;
+ /**
+ * Occurs when a remote user becomes offline.
+ *
+ * The SDK triggers this callback in the following situations:
+ * - A remote user calls {@link Client.leave} and leaves the channel.
+ * - A remote user drops offline. When no data packet of the user or host is received for 20 seconds, the SDK assumes that the user drops offline.
+ * A poor network connection may lead to false detections, so we recommend using the signaling system for reliable offline detection.
+ * - A remote user switches the client role from host to audience.
+ *
+ * **Note:**
+ * In live-broadcast channels, the SDK triggers this callback only when a host goes offline.
+ *
+ * @example **Sample code**
+ * ``` javascript
+ * client.on("peer-leave", function(evt) {
+ * var uid = evt.uid;
+ * var reason = evt.reason;
+ * console.log("remote user left ", uid, "reason: ", reason);
+ * //……
+ * });
+ *
+ * ```
+ */
+ on(event: "peer-leave", callback: (evt:
+ /**
+ * @param uid ID of the remote user.
+ * @param reason Reason why the user goes offline.
+ * - "Quit": The user calls {@link Client.leave} and leaves the channel.
+ * - "ServerTimeOut": The user drops offline.
+ * - "BecomeAudience": The client role switches from `"host"` to `"audience"`.
+ */
+ { uid: string, reason: string }) => void): void;
/**
* Occurs when the peer user mutes the audio.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("mute-audio", function(evt) {
* var uid = evt.uid;
@@ -2085,7 +2596,7 @@ declare namespace AgoraRTC {
on(event: "mute-audio", callback: (evt: any) => void): void;
/**
* Occurs when the peer user unmutes the audio.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("unmute-audio", function (evt) {
* var uid = evt.uid;
@@ -2097,7 +2608,7 @@ declare namespace AgoraRTC {
on(event: "unmute-audio", callback: (evt: any) => void): void;
/**
* Occurs when the peer user turns off the video.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("mute-video", function (evt) {
* var uid = evt.uid;
@@ -2110,7 +2621,7 @@ declare namespace AgoraRTC {
on(event: "mute-video", callback: (evt: any) => void): void;
/**
* Occurs when the peer user turns on the video.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("unmute-video", function (evt) {
* var uid = evt.uid;
@@ -2121,8 +2632,30 @@ declare namespace AgoraRTC {
*/
on(event: "unmute-video", callback: (evt: any) => void): void;
/**
- * This callback notifies the peer user that they are banned from the channel. Only the banned users receive this callback.
- * @example **Sample Code**
+ * Occurs when encryption or decryption fails during publishing or subscribing to a stream.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * The failure is usually due to a wrong encryption password ({@link setEncryptionSecret}) or an incorrect encryption mode ({@link setEncryptionMode}).
+ *
+ * @example **Sample code**
+ * ```javascript
+ * client.on("crypt-error", function (evt) {
+ * console.log(evt.cryptType + "error!");
+ * });
+ * ```
+ */
+ on(event: "crypt-error", callback: (evt: any) => void): void;
+ /**
+ * This callback notifies the peer user that he/she is banned from the channel. Only the banned users receive this callback.
+ *
+ * Possible reasons include:
+ * - K_CHANNEL_PERMISSION_INVALID: The user has no permission.
+ * - K_UID_BANNED: The UID is banned.
+ * - K_IP_BANNED: The IP is banned.
+ * - K_CHANNEL_BANNED The channel is banned.
+ * @example **Sample code**
* ``` javascript
* client.on("client-banned", function (evt) {
* var uid = evt.uid;
@@ -2136,7 +2669,7 @@ declare namespace AgoraRTC {
on(event: "client-banned", callback: (evt: any) => void): void;
/**
* This callback notifies the application who is the active speaker in the channel.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("active-speaker", function(evt) {
* var uid = evt.uid;
@@ -2153,11 +2686,11 @@ declare namespace AgoraRTC {
* If enabled, it reports the volumes every two seconds regardless of whether there are users speaking.
*
* The volume is an integer ranging from 0 to 100. Usually a user with volume above five will be counted as a speaking user.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("volume-indicator", function(evt){
* evt.attr.forEach(function(volume, index){
- * console.log(`#{index} UID ${volume.uid} Level ${volume.level}`);
+ * console.log(`${index} UID ${volume.uid} Level ${volume.level}`);
* });
* });
* ```
@@ -2177,6 +2710,12 @@ declare namespace AgoraRTC {
on(event: "liveStreamingStopped", callback: (evt: any) => void): void;
/**
* Occurs when the live transcoding setting is updated.
+ *
+ * The SDK triggers this callback when the live transcoding setting is updated by calling the {@link setLiveTranscoding} method.
+ *
+ * **Note:**
+ *
+ * The first call of the {@link setLiveTranscoding} method does not trigger this callback.
*/
on(event: "liveTranscodingUpdated", callback: (evt: any) => void): void;
/**
@@ -2187,7 +2726,7 @@ declare namespace AgoraRTC {
* Occurs when the Token expires in 30 seconds.
*
* You should request a new Token from your server and call {@link Client.renewToken}.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("onTokenPrivilegeWillExpire", function(){
* //After requesting a new token
@@ -2201,7 +2740,7 @@ declare namespace AgoraRTC {
* Occurs when the Token expires.
*
* You should request a new Token from your server and call {@link Client.renewToken}.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("onTokenPrivilegeDidExpire", function(){
* //After requesting a new token
@@ -2213,20 +2752,22 @@ declare namespace AgoraRTC {
on(event: "onTokenPrivilegeDidExpire", callback: (evt: any) => void): void;
/**
* Occurs when an error message is reported and requires error handling.
- * @example **Sample Code**
+ *
+ * Possible errors:
+ * - When `reason` is `"SOCKET_DISCONNECTED"`, the SDK disconnects from the Agora server due to network conditions and will automatically try reconnecting.
+ * - If this callback reports other reasons, it means that the error occurs during the reconnecting phase.
+ * @example **Sample code**
* ``` javascript
* client.on("error", function(err) {
* console.log("Got error msg:", err.reason);
* });
*
* ```
- *
- * For details, see [Error Codes and Warning Codes](../../../the_error_web).
*/
- on(event: "error", callback: (evt: any) => void): void;
+ on(event: "error", callback: (evt: { type: "error", reason: any }) => void): void;
/**
* Occurs when the network type changes.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("network-type-changed", function(evt) {
* console.log("Network Type Changed to", evt.networkType);
@@ -2242,7 +2783,7 @@ declare namespace AgoraRTC {
on(event: "network-type-changed", callback: (evt: any) => void): void;
/**
* Occurs when an audio input device is added or removed.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("recording-device-changed", function(evt) {
* console.log("Recording Device Changed", evt.state, evt.device);
@@ -2254,7 +2795,7 @@ declare namespace AgoraRTC {
on(event: "recording-device-changed", callback: (evt: any) => void): void;
/**
* Occurs when an audio output device is added or removed.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("playout-device-changed", function(evt) {
* console.log("Playout Device Changed", evt.state, evt.device);
@@ -2269,7 +2810,7 @@ declare namespace AgoraRTC {
on(event: "playout-device-changed", callback: (evt: any) => void): void;
/**
* Occurs when a camera is added or removed.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("camera-changed", function(evt) {
* console.log("Camera Changed", evt.state, evt.device);
@@ -2288,7 +2829,7 @@ declare namespace AgoraRTC {
*
* - 0: High-bitrate, high-resolution video stream.
* - 1: Low-bitrate, low-resolution video stream.
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.on("stream-type-changed", function(evt) {
@@ -2313,7 +2854,7 @@ declare namespace AgoraRTC {
* If the connection is lost because, for example, the network is down or switched, the SDK triggers this callback and notifies the app that the state changes from `CONNECTED` to `CONNECTING`.
* - `DISCONNECTING`: The SDK is disconnecting from Agora's edge server. The SDK enters this state when calling [[Client.leave]].
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.on("connection-state-change", function(evt) {
@@ -2330,7 +2871,7 @@ declare namespace AgoraRTC {
/**
* Occurs when the SDK starts republishing or re-subscribing to a stream.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.on("stream-reconnect-start", function(evt) {
@@ -2345,7 +2886,7 @@ declare namespace AgoraRTC {
/**
* Occurs when the SDK finishes republishing or re-subscribing to a stream.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.on('stream-reconnect-end', function(evt) {
@@ -2371,7 +2912,7 @@ declare namespace AgoraRTC {
/**
* Occurs when the user role switches in a live broadcast. For example, from a host to an audience or vice versa.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ```javascript
* client.on('client-role-changed', function(evt) {
@@ -2382,26 +2923,6 @@ declare namespace AgoraRTC {
on(event: "client-role-changed", callback: (evt:
/** @param role Role that the user switches to. */
{ role: string }) => void): void;
- /**
- * Occurs when a remote user or host joins the channel.
- *
- * - Communication channel (rtc mode): This callback notifies the app that another user joins the channel.
- * If other users are already in the channel, the SDK also reports to the app on the existing users.
- * - Live-broadcast channel (live mode): This callback notifies the app that the host joins the channel.
- * If other hosts are already in the channel, the SDK also reports to the app on the existing hosts. Agora recommends limiting the number of hosts to 17.
- *
- * @example **Sample Code**
- *
- * ```javascript
- * client.on('peer-online', function(evt) {
- * console.log('peer-online', evt.uid);
- * });
- * ```
- *
- */
- on(event: "peer-online", callback: (evt:
- /** @param uid ID of the user or host who joins the channel. */
- { uid: string }) => void): void;
/**
* Reports the network quality of the local user once every two seconds.
*
@@ -2411,7 +2932,7 @@ declare namespace AgoraRTC {
*
* This is an experimental feature and the network quality rating is for reference only.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.on('network-quality', function(stats) {
@@ -2473,7 +2994,7 @@ declare namespace AgoraRTC {
* **Note:**
*
* This callback supports only the Chrome browser.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.on("exception", function(evt) {
* console.log(evt.code, evt.msg, evt.uid);
@@ -2488,11 +3009,108 @@ declare namespace AgoraRTC {
/** The uid of the user who experiences the exception or recovery event. */
uid: string
}) => void): void;
+ /**
+ * Occurs when a remote user of the Native SDK calls `enableLocalVideo(true)` to enable video capture.
+ *
+ * **Since**
+ *
*3.0.0*
+ */
+ on(event: "enable-local-video", callback: (evt: {
+ /** The ID of the remote user. */
+ uid: string
+ }) => void): void;
+ /**
+ * Occurs when a remote user of the Native SDK calls `enableLocalVideo(false)` to disable video capture.
+ *
+ * **Since**
+ *
*3.0.0*
+ */
+ on(event: "disable-local-video", callback: (evt: {
+ /** The ID of the remote user. */
+ uid: string
+ }) => void): void;
+ /**
+ * Reports events during the media stream relay.
+ *
+ * **Since**
+ *
*3.0.0*
+ */
+ on(event: "channel-media-relay-event", callback: (evt: {
+ /**
+ * The event code for media stream relay.
+ *
+ * - 0: The user disconnects from the server due to a poor network connection.
+ * - 1: The user is connected to the server.
+ * - 2: The user joins the source channel.
+ * - 3: The user joins the destination channel.
+ * - 4: The SDK starts relaying the media stream to the destination channel.
+ * - 5: The server receives the video stream from the source channel.
+ * - 6: The server receives the audio stream from the source channel.
+ * - 7: The destination channel is updated.
+ */
+ code: number
+ }) => void): void;
+ /**
+ * Occurs when the state of the media stream relay changes.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * The SDK reports the state and error code of the current media relay in this callback.
+ */
+ on(event: "channel-media-relay-state", callback: (evt: {
+ /**
+ * The state code.
+ *
+ * - 0: The SDK is initializing.
+ * - 1: The SDK tries to relay the media stream to the destination channel.
+ * - 2: The SDK successfully relays the media stream to the destination channel.
+ * - 3: An error occurs. See `code` for the error code. In case of an error, the SDK resets the media stream relay state, and you need to call {@link startChannelMediaRelay} to restart the relay.
+ */
+ state: number,
+ /**
+ * The error code.
+ *
+ * - 0: No error.
+ * - 1: An error occurs in the server response.
+ * - 2: No server response.
+ * - 3: The SDK fails to access the service, probably due to limited resources of the server.
+ * - 4: Fails to send the relay request.
+ * - 5: Fails to accept the relay request.
+ * - 6: The server fails to receive the media stream.
+ * - 7: The server fails to send the media stream.
+ * - 8: The SDK disconnects from the server and fails to reconnect to the server due to a poor network connection. In this case, the SDK resets the relay state. You can try {@link startChannelMediaRelay} to restart the media stream relay.
+ * - 9: An internal error occurs in the server.
+ * - 10: The token of the source channel has expired.
+ * - 11: The token of the destination channel has expired.
+ * - 12: The relay has already started. Possibly caused by calling {@link startChannelMediaRelay} repeatedly, or calling {@link startChannelMediaRelay} before {@link stopChannelMediaRelay} succeeds.
+ * - 13: The relay has not started. Possibly caused by calling {@link updateChannelMediaRelay} before {@link startChannelMediaRelay} succeeds.
+ */
+ code: number
+ }) => void): void;
+ /**
+ * Unbinds Events
+ *
+ * This method removes the events attached by the `Client.on()` method.
+ *
+ * @param eventType The event to be removed.
+ * @param callback The function to be removed.
+ *
+ * @example **Sample code**
+ * ``` javascript
+ * client.on("stream-published", function processStreamPublished(evt) {
+ * console.log("Stream Published");
+ * evt.stream.play("divId");
+ * client.off("stream-published", processStreamPublished);
+ * })
+ * ```
+ */
+ off(eventType: string, callback: any): void;
/**
* Initializes a Client Object
*
* This method initializes the client object.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.init(appId, function() {
* console.log("client initialized");
@@ -2503,11 +3121,10 @@ declare namespace AgoraRTC {
* // Error handling
* });
* ```
- * @param appId Pass in the App ID for your project. ASCII characters only, and the string length must be greater than 0 and less than 256 bytes.
- *
- * To get your App ID, see [Get an App ID](../../../web_prepare?platform=Web#create-an-agora-account-and-get-an-app-id).
+ * @param appId Pass in the [App ID](https://docs.agora.io/en/Agora%20Platform/terms?platform=All%20Platforms#a-name-appid-a-app-id) for your project. ASCII characters only, and the string length must be greater than 0 and less than 256 bytes.
* @param onSuccess The callback when the method succeeds.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are the common errors:
+ * - `"BAD_ENVIRONMENT"`: Unsupported web browser.
*/
init(
appId: string,
@@ -2518,7 +3135,12 @@ declare namespace AgoraRTC {
* Joins an AgoraRTC Channel
*
* This method joins an AgoraRTC channel.
- * @example **Sample Code**
+ *
+ * When joining the channel, the `Client.on("connected")` and `Client.on("connection-state-change")` callbacks are triggered on the local client.
+ *
+ * After joining the channel, if the user joining the channel is in the Communication profile, or is a host in the Live Broadcast profile, the `Client.on("peer-online")` callback is triggered on the remote client.
+ *
+ * @example **Sample code**
* ``` javascript
* client.join(, "1024", null, function(uid) {
* console.log("client" + uid + "joined channel");
@@ -2534,11 +3156,11 @@ declare namespace AgoraRTC {
* - High security requirements: Pass the string of the Token or Channel Key as the parameter value. See [Use Security Keys](../../../token) for details.
* @param channel A string that provides a unique channel name for the Agora session. The length must be within 64 bytes. Supported character scopes:
*
- * - 26 lowercase English letters a-z
- * - 26 uppercase English letters A-Z
- * - 10 numbers 0-9
- * - Space
- * - "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", ","
+ * - All lowercase English letters: a to z.
+ * - All uppercase English letters: A to Z.
+ * - All numeric characters: 0 to 9.
+ * - The space character.
+ * - Punctuation characters and other symbols, including: "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", " {", "}", "|", "~", ",".
* @param uid The user ID, an integer or a string, ASCII characters only. Ensure this ID is unique.
* If you set the uid to `null`, the server assigns one and returns it in the `onSuccess` callback.
*
@@ -2547,21 +3169,30 @@ declare namespace AgoraRTC {
* - All users in the same channel should have the same type (number or string) of `uid`.
* - If you use a number as the user ID, it should be a 32-bit unsigned integer with a value ranging from 0 to (232-1).
* - If you use a string as the user ID, the maximum length is 255 characters.
+ * - You can use string UIDs to interoperate with the Native SDK 2.8 or later. Ensure that the Native SDK uses the User Account to join the channel. See [Use String User Accounts](https://docs.agora.io/en/Interactive%20Broadcast/string_web?platform=Web).
* @param onSuccess The callback when the method succeeds. The server returns the uid which represents the identity of the user.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "INVALID_OPERATION": Unable to join the channel. Usually due to calling `Client.join` repeatedly.
+ * - "UID_CONFLICT": The `uid` of the local client conflicts with other users in the channel.
+ * - "SOCKET_ERROR": The SDK disconnects with the Agora server when joining the channel.
*/
join(
tokenOrKey: string | null,
channel: string,
uid: number | string | null,
onSuccess?: (uid: number | string) => void,
- onFailure?: (err: any) => void
+ onFailure?: (err: string) => void
): void;
/**
* Leaves an AgoraRTC Channel
*
* This method enables a user to leave a channel.
- * @example **Sample Code**
+ *
+ * When leaving the channel, the `Client.on("connection-state-change")` callback is triggered on the local client.
+ *
+ * After leaving the channel, if the user joining the channel is in the Communication profile, or is a host in the Live Broadcast profile, the `Client.on("peer-leave") callback` is triggered on the remote client.
+ *
+ * @example **Sample code**
* ``` javascript
* client.leave(function() {
* console.log("client leaves channel");
@@ -2572,18 +3203,25 @@ declare namespace AgoraRTC {
* });
* ```
* @param onSuccess The callback when the method succeeds.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "INVALID_OPERATION": Invalid operation. Possible reasons are that this method is already called or the user is not in the channel.
+ * - "SOCKET_ERROR": The SDK disconnects with the Agora server when leaving the channel.
+ * - "LEAVE_MSG_TIMEOUT": The request to leave the channel times out. In this case, the SDK automatically disconnects and leaves the channel.
*/
- leave(onSuccess?: () => void, onFailure?: (err: any) => void): void;
+ leave(onSuccess?: () => void, onFailure?: (err: string) => void): void;
/**
* Publishes a Local Stream
*
* This method publishes a local stream to the SD-RTN.
*
+ * When the stream is published, the following callbacks are triggered:
+ * - On the local client: `Client.on("stream-published")`
+ * - On the remote client: `Client.on("stream-added")`
+ *
* **Note:**
*
* In a live broadcast, whoever calls this API is the host.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.publish(stream, function(err) {
* console.log(err);
@@ -2591,15 +3229,22 @@ declare namespace AgoraRTC {
* })
* ```
* @param stream Stream object, which represents the local stream.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "STREAM_ALREADY_PUBLISHED": This stream object is already published.
+ * - "INVALID_LOCAL_STREAM": The stream object is invalid.
+ * - "INVALID_OPERATION": The user is not in the channel, possibly because the user has not joined the channel or the connection is interrupted.
+ * - "PUBLISH_STREAM_FAILED": Fails to publish the stream, usually because the connection is lost during publishing.
+ * - "PEERCONNECTION_FAILED": Fails to establish the media transport channel.
*/
- publish(stream: Stream, onFailure?: (err: any) => void): void;
+ publish(stream: Stream, onFailure?: (err: string) => void): void;
/**
* Unpublishes the Local Stream
*
* This method unpublishes the local stream.
+ *
+ * When the stream is unpublished, the `Client.on("stream-removed")` callback is triggered on the remote client.
* @example
- * **Sample Code**
+ * **Sample code**
* ``` javascript
* client.unpublish(stream, function(err) {
* console.log(err);
@@ -2608,14 +3253,21 @@ declare namespace AgoraRTC {
*
* ```
* @param stream Stream object, which represents the local stream.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "STREAM_NOT_YET_PUBLISHED": The specified stream object is not published.
+ * - "INVALID_LOCAL_STREAM": The specified stream object is invalid.
+ * - "INVALID_OPERATION": The user is not in the channel, possibly because the user has not joined the channel or the connection is interrupted.
*/
- unpublish(stream: Stream, onFailure?: (err: any) => void): void;
+ unpublish(stream: Stream, onFailure?: (err: string) => void): void;
/**
* Subscribes to a Remote Stream
*
* This method enables a user to subscribe to a remote stream.
*
+ * After the user subscribes to a remote stream, the SDK triggers the `Client.on("stream-subscribed")` callback.
+ * If the remote stream contains an audio track, the SDK also triggers the `Client.on("first-audio-frame-decode")` callback;
+ * if the remote stream contains a video track, the SDK also triggers the `Client.on("first-video-frame-decode")` callback.
+ *
* @param stream Stream object, which represents the remote stream.
* @param options Sets whether to receive the video or audio data independently by the `video` and `audio` parameters.
*
@@ -2623,10 +3275,13 @@ declare namespace AgoraRTC {
*
* - `video` and `audio` cannot be set as `false` at the same time. If you need to stop subscribing to the stream, call [[Client.unsubscribe]] instead.
* - Safari does not support independent subscription. Set `options` as `null` for Safari, otherwise the`SAFARI_NOT_SUPPORTED_FOR_TRACK_SUBSCRIPTION` error occurs.
- * @param onFailure The callback when the method fails.
- *
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "SAFARI_NOT_SUPPORTED_FOR_TRACK_SUBSCRIPTION": Safari does not support independent subscription.
+ * - "INVALID_OPERATION": The user is not in the channel, possibly because the user has not joined the channel or the connection is interrupted.
+ * - "SUBSCRIBE_STREAM_FAILED": The subscription fails, usually because the SDK has disconnected from the Agora server when subscribing to the stream.
+ * - "PEERCONNECTION_FAILED": Fails to establish the media transport channel.
* @example
- * **Sample Code**
+ * **Sample code**
* ```javascript
* client.subscribe(stream, function(err) {
* console.error("stream subscribe failed", err);
@@ -2638,7 +3293,7 @@ declare namespace AgoraRTC {
* This method can be called multiple times for a single remote stream, and enables you to switch between receiving/not receiving the video or audio data flexibly.
*
* @example
- * **Sample Code**
+ * **Sample code**
* ```javascript
* // Initially, subscribe to the stream and receive only the video data
* client.subscribe(stream, {video: true, audio: false});
@@ -2663,13 +3318,13 @@ declare namespace AgoraRTC {
*/
audio?: boolean
},
- onFailure?: (err: any) => void): void;
+ onFailure?: (err: string) => void): void;
/**
* Unsubscribes from the Remote Stream
*
* This method enables the user to unsubscribe from the remote stream.
* @example
- * **Sample Code**
+ * **Sample code**
* ``` javascript
* client.unsubscribe(stream, function(err) {
* console.log(err);
@@ -2678,9 +3333,13 @@ declare namespace AgoraRTC {
*
* ```
* @param stream Stream object, which represents the remote stream.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "INVALID_REMOTE_STREAM": The specified stream object is invalid.
+ * - "INVALID_OPERATION": The user is not in the channel, possibly because the user has not joined the channel or the connection is interrupted.
+ * - "NO_SUCH_REMOTE_STREAM": The specified stream object is not found.
+ * - "UNSUBSCRIBE_STREAM_FAILED": Fails to unsubscribe from the stream, usually because the SDK has disconnected from the Agora server when unsubscribing from the stream.
*/
- unsubscribe(stream: Stream, onFailure?: (err: any) => void): void;
+ unsubscribe(stream: Stream, onFailure?: (err: string) => void): void;
/**
* Sets the role of the user.
*
@@ -2688,14 +3347,14 @@ declare namespace AgoraRTC {
*
* Sets the role of the user such as a host or an audience (default), before joining a channel.
*
- * This method can be used to switch the user role after the user joins a channel.
+ * This method can be used to switch the user role after the user joins a channel. When a user switches the user role after joining a channel, the following callbacks are triggered:
+ * - On the local client: `Client.on("client-role-changed")`.
+ * - On the remote client: `Client.on("peer-online")` or `Client.on("peer-leave")`.
*
* In live mode ([[mode]] is set as `live`):
*
* - Before joining the channel, you can call this method to set the role.
- *
* - After joining the channel, you can call this method to switch the role:
- *
* - When you call [[publish]], the user role switches to `host`; when you call [[unpublish]], the user role switches to `audience`.
* - After calling [[publish]], if you call this method and set the user role as `audience`, [[unpublish]] is called automatically.
*
@@ -2708,35 +3367,38 @@ declare namespace AgoraRTC {
* - `"audience"`: Audience, the default role. An audience can only receive streams.
* - `"host"`: Host. A host can both send and receive streams.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
- * client.setClientRole('host', function() {
- * console.log("setHost success");
- * }, function(e) {
- * console.log("setHost failed", e);
- * })
+ * client.setClientRole("host", function(e) {
+ * if (!e) {
+ * console.log("setHost success");
+ * } else {
+ * console.log("setHost error", e);
+ * }
+ * });
* ```
*
- *
*/
- setClientRole(role: "audience" | "host", callback?: (err: any) => void): void;
+ setClientRole(role: "audience" | "host", callback?: (err?: string | null) => void): void;
/**
* Enables Dual Stream
*
- * This method enables the dual-stream mode on the publisher side.
+ * This method enables the dual-stream mode on the publisher side. We recommend calling this method after joining a channel({@link Client.join}).
*
* Dual streams are a hybrid of a high-video stream and a low-video stream:
*
* - High-video stream: high bitrate, high resolution
* - Low-video stream: low bitrate, low resolution
*
- * @example **Sample Code**
+ * We do not recommend using the track methods ([[addTrack]]/[[removeTrack]]/[[replaceTrack]]) on dual streams, which might cause different performance in the high-video and low-video streams.
+ *
+ * @example **Sample code**
* ``` javascript
* client.enableDualStream(function() {
* console.log("Enable dual stream success!")
* }, function(err) {
- * console,log(err)
+ * console.log(err)
* })
* ```
*
@@ -2749,11 +3411,15 @@ declare namespace AgoraRTC {
* - Safari browser on iOS
* - Screen-sharing scenario
* @param onSuccess The callback when the method succeeds.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "IOS_NOT_SUPPORT": Does not support iOS.
+ * - "WECHAT_NOT_SUPPORT": Does not support WeChat.
+ * - "STILL_ON_PUBLISHING": Still publishing the stream. Enable dual streams later.
+ * - "ENABLE_DUALSTREAM_FAILED": Fails to enable dual streams.
*/
enableDualStream(
onSuccess?: () => void,
- onFailure?: (err: any) => void
+ onFailure?: (err: string) => void
): void;
/**
* Sets the Low-video Stream Parameter
@@ -2794,7 +3460,7 @@ declare namespace AgoraRTC {
*
* When a remote user sends dual streams, this method decides on which stream to receive on the subscriber side. If this method is not used, the subscriber receives the high-video stream.
*
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* switchStream = function (){
* if (highOrLow === 0) {
@@ -2824,6 +3490,8 @@ declare namespace AgoraRTC {
*
* Under poor network conditions, the SDK can choose to subscribe to the low-video stream or only the audio stream.
*
+ * If the auto-fallback option is enabled, the SDK triggers the `Client.on("stream-type-changed")` callback when the remote stream changes from a high-video stream to a low-video stream or vice versa, and triggers the `Client.on("stream-fallback")` callback when the remote stream changes from a video stream to an audio-only stream or vice versa.
+ *
* **Note:**
*
* This method can only be used when the publisher has enabled the dual-stream mode by {@link enableDualStream}.
@@ -2833,7 +3501,7 @@ declare namespace AgoraRTC {
* - 1: (Default) Automatically subscribe to the low-video stream under poor network.
* - 2: Under poor network, the SDK may subscribe to the low-video stream (of lower resolution and lower bitrate) first,
* but if the network still does not allow displaying the video, the SDK will receive audio only.
- * @example **Sample Code**
+ * @example **Sample code**
* ```javascript
* // The sender side, after publishing the high stream
* client.enableDualStream();
@@ -2847,7 +3515,7 @@ declare namespace AgoraRTC {
* Disables Dual Streams
*
* This method disables dual streams.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.disableDualStream(function() {
* console.log("Disable dual stream success!")
@@ -2856,28 +3524,30 @@ declare namespace AgoraRTC {
* })
* ```
* @param onSuccess The callback when the method succeeds.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "STILL_ON_PUBLISHING": Still publishing the stream. Disable dual streams later.
+ * - "DISABLE_DUALSTREAM_FAILED": Fails to disable dual streams.
*/
disableDualStream(
onSuccess?: () => void,
- onFailure?: (err: any) => void
+ onFailure?: (err: string) => void
): void;
/**
* Enables Volume Indicator
*
* This method enables the SDK to report the active remote users who are speaking and their volume regularly.
*
- * If this method is enabled, the SDK will return the volumes every two seconds, regardless of whether there are active speakers.
+ * If this method is enabled, the SDK triggers the `"volume-indicator"` callback to report the volumes every two seconds, regardless of whether there are active speakers.
*
* **Note:**
*
* - If you have multiple web pages running the Web SDK, this function might not work.
- * @example **Sample Code**
+ * @example **Sample code**
* ``` javascript
* client.enableAudioVolumeIndicator(); // Triggers the "volume-indicator" callback event every two seconds.
* client.on("volume-indicator", function(evt){
* evt.attr.forEach(function(volume, index){
- * console.log(#{index} UID ${volume.uid} Level ${volume.level});
+ * console.log(`${index} UID ${volume.uid} Level ${volume.level}`);
* });
* });
* ```
@@ -2899,7 +3569,7 @@ declare namespace AgoraRTC {
*
* Call {@link configPublisher} before {@link Client.join}.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.configPublisher({
@@ -2921,16 +3591,21 @@ declare namespace AgoraRTC {
/**
* Starts a Live Stream
*
- * This method starts a live stream.
- * @example **Sample Code**
+ * This method starts a live stream. For details, see [Push Streams to the CDN](../../../cdn_streaming_web).
+ *
+ * When the live stream starts, the SDK triggers the `Client.on("liveStreamingStarted")` callback.
+ * If this method call fails, the SDK triggers the `Client.on("liveStreamingFailed")` callback.
+ *
+ * **Note:**
+ *
+ * - Only hosts in live-broadcast channels can call this method. Ensure that you set the user role as `"host"` in {@link setClientRole}.
+ * - Call this method after {@link Stream.init}.
+ * - Push one live stream at a time. If you need to push several streams, ensure that the current stream starts successfully before pushing the next one.
+ * @example **Sample code**
* ``` javascript
* client.setLiveTranscoding();
* client.startLiveStreaming(, true)
* ```
- *
- * **Note:**
- *
- * Call {@link startLiveStreaming} after {@link createStream}. For details, see [Push Streams to the CDN](../../../push_stream_web).
* @param url URL address for the live stream. ASCII characters only, and the string length must be greater than 0 and less than 256 bytes.
* @param enableTranscoding Marks whether to enable live transcoding. If set as `true`, {@link setLiveTranscoding} must be called before this method.
*/
@@ -2939,10 +3614,13 @@ declare namespace AgoraRTC {
* Sets Live Transcoding
*
* This method sets the video layout and audio for CDN live.
+ * A successful call of this method to update the transcoding settings triggers the `Client.on("liveTranscodingUpdated")` callback.
*
* **Note:**
*
- * Call {@link setLiveTranscoding} after {@link createStream}. For details, see [Push Streams to the CDN](../../../push_stream_web).
+ * - Ensure that you [enable the RTMP Converter service](../../../cdn_streaming_web#prerequisites) before using this function.
+ * - The first call of this method does not trigger the `Client.on("liveTranscodingUpdated")` callback.
+ * - Call {@link setLiveTranscoding} after {@link createStream}. For details, see [Push Streams to CDN](../../../cdn_streaming_web).
* @param coding Transcoding settings, see {@link LiveTranscoding} for details.
*/
setLiveTranscoding(coding: LiveTranscoding): void;
@@ -2950,14 +3628,26 @@ declare namespace AgoraRTC {
* Stops Live Streaming
*
* This method stops and deletes the live streaming.
+ * When the live stream stops, the SDK triggers the `Client.on("liveStreamingStopped")` callback.
* @param url URL address of the live streaming. ASCII characters only, and the string length must be greater than 0 and less than 256 bytes.
*/
stopLiveStreaming(url: string): void;
/**
* Injects an Online Media Stream to a Live Broadcast
*
- * The `streamInjectedStatus` callback returns the inject status.If this method is called successfully, the server pulls the voice or video stream and injects it into a live channel.
+ * This method call triggers the following callbacks:
+ * - On the local client:
+ * - `Client.on("streamInjectedStatus")`, with the state of injecting the online stream.
+ * - `Client.on("stream-added")` and `Client.on("peer-online")`(uid: 666), if the online media stream is injected into the channel.
+ * - On the remote client:
+ * - `Client.on("stream-added")` and `Client.on("peer-online")`(uid: 666), if the online media stream is injected into the channel.
+ *
+ * If this method is called successfully, the server pulls the voice or video stream and injects it into a live channel.
* This is applicable to scenarios where all of the audience members in the channel can watch a live show and interact with each other.
+ *
+ * **Note:**
+ *
+ * Ensure that you [enable the RTMP Converter service](../../../cdn_streaming_web#prerequisites) before using this function.
* @param url URL address of the live streaming. ASCII characters only, and the string length must be greater than 0 and less than 256 bytes.
* Valid protocols are RTMP, HLS, and FLV.
* - Supported FLV audio codec type: AAC.
@@ -2973,9 +3663,25 @@ declare namespace AgoraRTC {
*/
removeInjectStreamUrl(url: string): void;
/**
- * Deploys the Nginx Server
+ * Enables Cloud Proxy
+ *
+ * This method must be called before joining the channel or after leaving the channel.
+ *
+ * To use the cloud proxy service, some extra settings are needed, see [Use Cloud Proxy](https://docs.agora.io/en/Interactive%20Broadcast/cloud_proxy_web?platform=Web) for details.
+ */
+ startProxyServer(): void;
+ /**
+ * Disables Cloud Proxy
+ *
+ * This method must be called before joining the channel or after leaving the channel.
+ *
+ * This method disables all proxy settings, including those set by [[setProxyServer]] and [[setTurnServer]].
+ */
+ stopProxyServer(): void;
+ /**
+ * Deploys a Proxy Server
*
- * Use this method to deploy the Nginx server.
+ * Use this method to deploy the Nginx server. See [Deploy the Enterprise Proxy](https://docs.agora.io/en/Interactive%20Broadcast/proxy_web?platform=Web) for details.
*
* **Note:**
*
@@ -3001,11 +3707,15 @@ declare namespace AgoraRTC {
/**
* Enables Built-in Encryption
*
- * This method enables the built-in encryption.
+ * Use this method with [[setEncryptionMode]] method to enable the built-in encryption before joining a channel.
+ *
+ * All users in a channel must set the same encryption password.
*
* **Note:**
*
- * Ensure that you call this API before {@link Client.join}.
+ * - Ensure you call [[setEncryptionSecret]] and [[setEncryptionMode]] before joining the channel, otherwise the encryption is disabled.
+ * - Do not use this method for CDN live streaming.
+ * - If the encryption password is incorrect, the SDK triggers the `Client.on("crypt-error")` callback when publishing or subscribing to a stream.
* @example `client.setEncryptionSecret(password)`
* @param password The encryption password. ASCII characters only, and the string length must be greater than 0 and less than 256 bytes.
*/
@@ -3013,11 +3723,15 @@ declare namespace AgoraRTC {
/**
* Sets the Encryption Mode
*
- * This method sets the encryption mode.
+ * Use this method with [[setEncryptionSecret]] method to enable the built-in encryption before joining a channel.
+ *
+ * All users in a channel must set the same encryption mode.
*
* **Note:**
*
- * Ensure that you call this API before {@link Client.join}.
+ * - Ensure you call [[setEncryptionSecret]] and [[setEncryptionMode]] before joining the channel, otherwise the encryption is disabled.
+ * - Do not use this method for CDN live streaming.
+ * - If the encryption mode is incorrect, the SDK triggers the `Client.on("crypt-error")` callback when publishing or subscribing to a stream.
* @example `client.setEncryptionMode(encryptionMode);`
* @param encryptionMode The encryption mode:
*
@@ -3051,12 +3765,13 @@ declare namespace AgoraRTC {
* Not doing so will result in SDK disconnecting with the server.
* @param key Specifies the renewed Channel Key.
* @param onSuccess The callback when the method succeeds.
- * @param onFailure The callback when the method fails.
+ * @param onFailure The callback when the method fails. The following are common errors:
+ * - "INVALID_OPERATION": The user is not in the channel. Call this method after the user joins a channel.
*/
renewChannelKey(
key: string,
onSuccess?: () => void,
- onFailure?: (err: any) => void
+ onFailure?: (err: string) => void
): void;
/**
* Gets the Statistics of the System Network
@@ -3074,7 +3789,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the system network.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getNetworkStats((stats) => {
@@ -3096,7 +3811,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the system.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getSystemStats((stats) => {
@@ -3112,15 +3827,19 @@ declare namespace AgoraRTC {
*
* If this method succeeds, the SDK returns a list of audio input devices in an array of [[MediaDeviceInfo]] objects.
*/
- getRecordingDevices(callback: (devices: MediaDeviceInfo) => void): void;
+ getRecordingDevices(callback: (devices: MediaDeviceInfo[]) => void): void;
/**
* Enumerates Audio Output Devices
*
* This method enumerates the available audio output devices, such as speakers.
*
* If this method succeeds, the SDK returns a list of audio output devices in an array of [[MediaDeviceInfo]] objects.
+ *
+ * **Note:**
+ *
+ * Only Chrome 49 or later supports this function.
*/
- getPlayoutDevices(callback: (devices: MediaDeviceInfo) => void): void;
+ getPlayoutDevices(callback: (devices: MediaDeviceInfo[]) => void): void;
/**
* Enumerates Video Input Devices
*
@@ -3128,7 +3847,7 @@ declare namespace AgoraRTC {
*
* If this method succeeds, the SDK returns a list of video input devices in an array of [[MediaDeviceInfo]] objects.
*/
- getCameras(callback: (devices: MediaDeviceInfo) => void): void;
+ getCameras(callback: (devices: MediaDeviceInfo[]) => void): void;
/**
* Retrieves the Audio Statistics of the Remote Stream
*
@@ -3141,7 +3860,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the remote audio stream.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getRemoteAudioStats((remoteAudioStatsMap) => {
@@ -3172,7 +3891,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the local audio stream.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getLocalAudioStats((localAudioStats) => {
@@ -3200,7 +3919,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the remote video stream.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getRemoteVideoStats((remoteVideoStatsMap) => {
@@ -3235,7 +3954,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the local video stream.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getLocalVideoStats((localVideoStats) => {
@@ -3269,7 +3988,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the transmission quality.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getTransportStats((stats) => {
@@ -3292,7 +4011,7 @@ declare namespace AgoraRTC {
*
* @param callback The callback contains the statistics of the session connection.
*
- * @example **Sample Code**
+ * @example **Sample code**
*
* ``` javascript
* client.getSessionStats((stats) => {
@@ -3323,6 +4042,217 @@ declare namespace AgoraRTC {
* - `DISCONNECTING`: The SDK is disconnecting from Agora's edge server. The SDK enters this state when calling [[Client.leave]].
*/
getConnectionState(): string;
+
+ /**
+ * Starts relaying media streams across channels.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * After this method call, the SDK triggers the following callbacks:
+ *
+ * - `Client.on("channel-media-relay-state")`, which reports the state and error code of the media stream relay.
+ * - If the media stream relay starts successfully, this callback returns `state` 2 and `code` 0.
+ * - If the media stream relay fails, this callback returns `state` 3. Refer to `code` for the error code and call this method again.
+ * - `Client.on("channel-media-relay-event")`, which reports the events of the media stream relay.
+ * - If the media stream relay starts successfully, this callback returns `code` 4, reporting that the SDK starts relaying the media stream to the destination channel.
+ *
+ * **Note:**
+ *
+ * - We do not support string user IDs in this API.
+ * - Call this method only after joining a channel.
+ * - In a live-broadcast channel, only a host can call this method.
+ * - To call this method again after it succeeds, you must call {@link stopChannelMediaRelay} to quit the current relay.
+ * @param config Configurations of the media stream relay: {@link ChannelMediaRelayConfiguration}.
+ * @param callback The result of starting the media stream relay.
+ *
+ * - null: Success.
+ * - {@link ChannelMediaError}: Failure. This class provides the error details.
+ *
+ * @example **Sample code**
+ * ```javascript
+ * client.startChannelMediaRelay(channelMediaConfig, function(e) {
+ * if(e) {
+ * utils.notification(`startChannelMediaRelay failed: ${JSON.stringify(e)}`);
+ * } else {
+ * utils.notification(`startChannelMediaRelay success`);
+ * }
+ * });
+ * ```
+ */
+ startChannelMediaRelay(config: ChannelMediaRelayConfiguration, callback: (err: null | ChannelMediaError) => void): void;
+ /**
+ * Updates the channels for media stream relay.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * After the channel media relay starts, if you want to relay the media stream to more channels, or leave the current relay channel, you can call this method.
+ *
+ * After this method call, the SDK triggers the `Client.on("channel-media-relay-event")` callback.
+ *
+ * - If the update succeeds, the callback returns `code` 7.
+ * - If the update fails, the callback returns `code` 8, and the SDK also triggers the `Client.on("channel-media-relay-state")` callback with `state` 3. In this case, the media relay state is reset, and you need to call {@link startChannelMediaRelay} again to restart the relay.
+ *
+ * **Note:**
+ *
+ * - Call this method after {@link startChannelMediaRelay}.
+ * - You can add a maximum of four destination channels to a relay.
+ *
+ * @param config Configurations of the media stream relay: {@link ChannelMediaRelayConfiguration}.
+ * @param callback The result of updating the destination channels.
+ *
+ * - `null`: Success.
+ * - {@link ChannelMediaError}: Failure. This class provides the error details.
+ *
+ * @example **Sample code**
+ * ```javascript
+ * client.updateChannelMediaRelay(channelMediaConfig, function(e) {
+ * if(e) {
+ * utils.notification(`updateChannelMediaRelay failed: ${JSON.stringify(e)}`);
+ * } else {
+ * utils.notification(`updateChannelMediaRelay success`);
+ * }
+ * });
+ * ```
+ */
+ updateChannelMediaRelay(config: ChannelMediaRelayConfiguration, callback: (err: null | ChannelMediaError) => void): void;
+ /**
+ * Stops the media stream relay.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * Once the relay stops, the user leaves all the destination channels.
+ *
+ * After this method call, the SDK triggers the `Client.on("channel-media-relay-state")` callback.
+ *
+ * - If the relay stops, the callback returns `state` 0.
+ * - If the relay fails to stop, the callback returns `state` 3 and `code` 2 or 8. The failure is usually due to poor network conditions. You can call {@link Client.leave} to leave the channel and stop the relay.
+ *
+ * @param callback The result of stopping the media stream relay.
+ *
+ * - `null`: Success.
+ * - {@link ChannelMediaError}: Failure. This class provides the error details.
+ *
+ * @example **Sample code**
+ *
+ * ```javascript
+ * stopChannelMediaRelay: function() {
+ * client.stopChannelMediaRelay(function(e) {
+ * if(e) {
+ * utils.notification(`stopChannelMediaRelay failed: ${JSON.stringify(e)}`);
+ * } else {
+ * utils.notification(`stopChannelMediaRelay success`);
+ * }
+ * });
+ * }
+ * ```
+ */
+ stopChannelMediaRelay(callback: (err: null | ChannelMediaError) => void): void;
+ }
+
+ /**
+ * Configurations of the media stream relay.
+ *
+ * **Since**
+ *
*3.0.0*
+ *
+ * Use this interface to set the media stream relay when calling {@link startChannelMediaRelay} or {@link updateChannelMediaRelay}.
+ */
+ interface ChannelMediaRelayConfiguration {
+ /**
+ * Sets the information of the source channel.
+ *
+ * @param srcInfo The information of the source channel:
+ *
+ * - `channelName`: String, the channel name.
+ * - `uid`: Number, the unique ID to identify the relay stream in the source channel. A 32-bit unsigned integer with a value ranging from 0 to (232-1). If you set it as `0`, the server assigns a random one. To avoid UID conflicts, this value must be different from the UID of the current host.
+ * - `token`: String, the token generated with the above `channelName` and `uid`. Do not set this parameter if you have not enabled token.
+ *
+ * @example **Sample code**
+ * ``` javascript
+ * var configuration = new AgoraRTC.ChannelMediaRelayConfiguration();
+ * configuration.setSrcChannelInfo({
+ * channelName: "srcChannel",
+ * uid: 123,
+ * token: "yourSrcToken",
+ * })
+ * ```
+ */
+ setSrcChannelInfo(srcInfo: any): void;
+ /**
+ * Sets the information of the destination channel.
+ *
+ * To relay a media stream across multiple channels, call this method as many times (to a maximum of four).
+ *
+ * @param channelName The name of the destination channel. Ensure that the value of this parameter is the same as the value of `channelName` in `destInfo`.
+ * @param destInfo The information of the destination channel:
+ *
+ * - `channelName`: String, the channel name.
+ * - `uid`: Number, the unique ID to identify the relay stream in the destination channel. A 32-bit unsigned integer with a value ranging from 0 to (232-1). If you set it as `0`, the server assigns a random one. To avoid UID conflicts, this uid must be different from any other UIDs in the destination channel.
+ * - `token`: String, the token generated with the above `channelName` and `uid`. Do not set this parameter if you have not enabled token.
+ *
+ * @example **Sample code**
+ * ``` javascript
+ * var configuration = new AgoraRTC.ChannelMediaRelayConfiguration();
+ * configuration.setDestChannelInfo("cname", {
+ * channelName: "destChannel",
+ * uid: 123,
+ * token: "yourDestToken",
+ * })
+ * ```
+ */
+ setDestChannelInfo(channelName: string, destInfo: any): void;
+ /**
+ * Removes the destination channel.
+ *
+ * @param channelName The name of the destination channel.
+ * @example **Sample code**
+ * ``` javascript
+ * configuration.removeDestChannelInfo("cname")
+ * ```
+ */
+ removeDestChannelInfo(channelName: string): void;
+ }
+
+ /**
+ * Error information of the media stream relay.
+ *
+ * When errors occur in calling {@link startChannelMediaRelay}, {@link updateChannelMediaRelay}, or {@link stopChannelMediaRelay}, the callback functions of these methods provide error details in this class.
+ *
+ * In this class, `code` is the error code and `message` is the error message. See the following table for details.
+ *
+ * | `code` | `message` | Description |
+ * | -------- | ------------------------------- | ------------------------------------------------------------ |
+ * | 0 | RELAY_OK | No error. |
+ * | 1 | SERVER_ERROR_RESPONSE | An error occurs in the server response. |
+ * | 2 | SERVER_NO_RESPONSE | No server response. |
+ * | 3 | NO_RESOURCE_AVAILABLE | The SDK fails to access the service, probably due to limited resources of the server. |
+ * | 4 | FAILED_JOIN_SRC | Fails to send the relay request. |
+ * | 5 | FAILED_JOIN_DEST | Fails to accept the relay request. |
+ * | 6 | FAILED_PACKET_RECEIVED_FROM_SRC | The server fails to receive the media stream. |
+ * | 7 | FAILED_PACKET_SENT_TO_DEST | The server fails to send the media stream. |
+ * | 8 | SERVER_CONNECTION_LOST | The SDK disconnects from the server and fails to reconnect to the server due to a poor network connection. In this case, the SDK resets the media stream relay state. You can try {@link startChannelMediaRelay} to restart the media stream relay. |
+ * | 9 | INTERNAL_ERROR | An internal error occurs in the server. |
+ * | 10 | SRC_TOKEN_EXPIRED | The token of the source channel has expired. |
+ * | 11 | DEST_TOKEN_EXPIRED | The token of the destination channel has expired. |
+ * | 12 | RELAY_ALREADY_START | The relay has already started. Possibly caused by calling {@link startChannelMediaRelay} repeatedly, or calling {@link startChannelMediaRelay} before {@link stopChannelMediaRelay} succeeds. |
+ * | 13 | RELAY_NOT_START | The relay has not started. Possibly caused by calling {@link updateChannelMediaRelay} before {@link startChannelMediaRelay} succeeds. |
+ */
+ class ChannelMediaError {
+ /**
+ * Additional information.
+ */
+ data?: any;
+ /**
+ * The error code.
+ */
+ code: number;
+ /**
+ * The error message.
+ */
+ message: string;
}
/**
diff --git a/types/agora-rtc-sdk/tslint.json b/types/agora-rtc-sdk/tslint.json
index ce06c167a974ca5..fbb37d50d68a067 100644
--- a/types/agora-rtc-sdk/tslint.json
+++ b/types/agora-rtc-sdk/tslint.json
@@ -1,6 +1,9 @@
-{
- "extends": "dtslint/dt.json",
- "rules": {
- "unified-signatures": false
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "unified-signatures": false,
+ "no-trailing-whitespace": false,
+ "max-line-length": false,
+ "invalid-void": false
+ }
}
-}
diff --git a/types/airbnb-prop-types/tslint.json b/types/airbnb-prop-types/tslint.json
index 71ee04c4e1a2104..ad93d8fc0d9ca6b 100644
--- a/types/airbnb-prop-types/tslint.json
+++ b/types/airbnb-prop-types/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-unnecessary-generics": false
}
-}
+}
\ No newline at end of file
diff --git a/types/ajv-async/tslint.json b/types/ajv-async/tslint.json
index 3db14f85eaf7b98..00089f9c20162d7 100644
--- a/types/ajv-async/tslint.json
+++ b/types/ajv-async/tslint.json
@@ -1 +1,6 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "no-outside-dependencies": false
+ }
+}
\ No newline at end of file
diff --git a/types/ajv-errors/tslint.json b/types/ajv-errors/tslint.json
index 3db14f85eaf7b98..00089f9c20162d7 100644
--- a/types/ajv-errors/tslint.json
+++ b/types/ajv-errors/tslint.json
@@ -1 +1,6 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "no-outside-dependencies": false
+ }
+}
\ No newline at end of file
diff --git a/types/ajv-keywords/tslint.json b/types/ajv-keywords/tslint.json
index 3db14f85eaf7b98..00089f9c20162d7 100644
--- a/types/ajv-keywords/tslint.json
+++ b/types/ajv-keywords/tslint.json
@@ -1 +1,6 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "no-outside-dependencies": false
+ }
+}
\ No newline at end of file
diff --git a/types/ajv-merge-patch/tslint.json b/types/ajv-merge-patch/tslint.json
index 3db14f85eaf7b98..00089f9c20162d7 100644
--- a/types/ajv-merge-patch/tslint.json
+++ b/types/ajv-merge-patch/tslint.json
@@ -1 +1,6 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "no-outside-dependencies": false
+ }
+}
\ No newline at end of file
diff --git a/types/ajv-pack/tslint.json b/types/ajv-pack/tslint.json
index 3db14f85eaf7b98..00089f9c20162d7 100644
--- a/types/ajv-pack/tslint.json
+++ b/types/ajv-pack/tslint.json
@@ -1 +1,6 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "no-outside-dependencies": false
+ }
+}
\ No newline at end of file
diff --git a/types/akamai-edgeworkers/index.d.ts b/types/akamai-edgeworkers/index.d.ts
index 1690aca8d4cdad9..dfca9f5fbffd6a7 100644
--- a/types/akamai-edgeworkers/index.d.ts
+++ b/types/akamai-edgeworkers/index.d.ts
@@ -143,25 +143,25 @@ declare namespace EW {
* The continent value is a two-letter code for the continent that
* the IP address maps to.
*/
- continent: string | undefined;
+ readonly continent: string | undefined;
/**
* The country value is an ISO-3166, two-letter code for the country
* where the IP address maps to.
*/
- country: string | undefined;
+ readonly country: string | undefined;
/**
* The region value is an ISO-3166, two-letter code for the state,
* province, or region where the IP address maps to.
*/
- region: string | undefined;
+ readonly region: string | undefined;
/**
* The city value is the city (within a 50-mile radius) that the IP
* address maps to.
*/
- city: string | undefined;
+ readonly city: string | undefined;
/**
* The zipCode value is the zipcode that the IP address maps to
@@ -187,7 +187,7 @@ declare namespace EW {
*
* See the EdgeScape Users Guide for more details.
*/
- zipCode: string | undefined;
+ readonly zipCode: string | undefined;
}
/**
@@ -199,99 +199,99 @@ declare namespace EW {
/**
* Brand name of the device.
*/
- brandName: string | undefined;
+ readonly brandName: string | undefined;
/**
* Model name of the device.
*/
- modelName: string | undefined;
+ readonly modelName: string | undefined;
/**
* Marketing name of the device.
*/
- marketingName: string | undefined;
+ readonly marketingName: string | undefined;
/**
* Indicates if the device is a wireless device.
*/
- isWireless: boolean | undefined;
+ readonly isWireless: boolean | undefined;
/**
* Indicates if the device is a tablet.
*/
- isTablet: boolean | undefined;
+ readonly isTablet: boolean | undefined;
/**
* The device operation system.
*/
- os: string | undefined;
+ readonly os: string | undefined;
/**
* The device operating system version.
*/
- osVersion: string | undefined;
+ readonly osVersion: string | undefined;
/**
* The mobile browser name.
*/
- mobileBrowser: string | undefined;
+ readonly mobileBrowser: string | undefined;
/**
* The mobile browser version.
*/
- mobileBrowserVersion: string | undefined;
+ readonly mobileBrowserVersion: string | undefined;
/**
* The screen resolution width, in pixels.
*/
- resolutionWidth: number | undefined;
+ readonly resolutionWidth: number | undefined;
/**
* The screen resolution height, in pixels.
*/
- resolutionHeight: number | undefined;
+ readonly resolutionHeight: number | undefined;
/**
* The physical screen height, in millimeters.
*/
- physicalScreenHeight: number | undefined;
+ readonly physicalScreenHeight: number | undefined;
/**
* The physical screen width, in millimeters.
*/
- physicalScreenWidth: number | undefined;
+ readonly physicalScreenWidth: number | undefined;
/**
* Indicates if the browser supports cookies.
*/
- hasCookieSupport: boolean | undefined;
+ readonly hasCookieSupport: boolean | undefined;
/**
* Indicates if the device supports all of the following
* JavaScript functions: "alert confirm access form elements
* setTimeout setInterval and document.location"
*/
- hasAjaxSupport: boolean | undefined;
+ readonly hasAjaxSupport: boolean | undefined;
/**
* Indicates if the browser supports Flash.
*/
- hasFlashSupport: boolean | undefined;
+ readonly hasFlashSupport: boolean | undefined;
/**
* Indicates if the browser accepts third party cookies.
*/
- acceptsThirdPartyCookie: boolean | undefined;
+ readonly acceptsThirdPartyCookie: boolean | undefined;
/**
* Indicates the level of support for XHTML.
*/
- xhtmlSupportLevel: number | undefined;
+ readonly xhtmlSupportLevel: number | undefined;
/**
* Indicates if the device is a mobile device.
*/
- isMobile: boolean | undefined;
+ readonly isMobile: boolean | undefined;
}
}
@@ -318,7 +318,7 @@ declare module "cookies" {
* take a string and return the result of the custom decoding of
* that string.
*/
- constructor(header?: string | string[], options?: object);
+ constructor(header?: string | string[] | null, options?: object);
/**
* Returns the string representation to use when setting the Cookie
diff --git a/types/akamai-edgeworkers/tsconfig.json b/types/akamai-edgeworkers/tsconfig.json
index 46738167db090ad..46f0352d44ad6bb 100644
--- a/types/akamai-edgeworkers/tsconfig.json
+++ b/types/akamai-edgeworkers/tsconfig.json
@@ -5,7 +5,7 @@
"lib": [
"es6"
],
- "noImplicitAny": false,
+ "noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
diff --git a/types/akumina-core/tslint.json b/types/akumina-core/tslint.json
index c9bd8bd4b34835c..3f109ea07fb6c1c 100644
--- a/types/akumina-core/tslint.json
+++ b/types/akumina-core/tslint.json
@@ -1,9 +1,8 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "npm-naming": false,
"jsdoc-format": false,
- "no-unnecessary-class": false
+ "no-unnecessary-class": false,
+ "npm-naming": false
}
-}
-
+}
\ No newline at end of file
diff --git a/types/alertify/tsconfig.json b/types/alertify/tsconfig.json
index 86ae0eac3dfda58..5fb9133a414cdce 100644
--- a/types/alertify/tsconfig.json
+++ b/types/alertify/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"alertify-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/alertify/tslint.json b/types/alertify/tslint.json
index 3d59f55fdabcf45..1b6c2f198dd9e8c 100644
--- a/types/alertify/tslint.json
+++ b/types/alertify/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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,
+ "no-var-keyword": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/alex/alex-tests.ts b/types/alex/alex-tests.ts
new file mode 100644
index 000000000000000..14a2ec19dcd4436
--- /dev/null
+++ b/types/alex/alex-tests.ts
@@ -0,0 +1,22 @@
+// configs
+const exemption = ['word', 'noun'];
+const config: alex.AlexOptions = {
+ allow: exemption,
+ noBinary: true,
+ profanitySureness: 1,
+};
+
+// api
+
+alex('We’ve confirmed his identity.'); // $ExpectType VFile
+alex('We’ve confirmed his identity.', exemption); // $ExpectType VFile
+alex('We’ve confirmed his identity.', config); // $ExpectType VFile
+alex.markdown('### We’ve confirmed his **identity**.'); // $ExpectType VFile
+alex.markdown('### We’ve confirmed his **identity**.', exemption); // $ExpectType VFile
+alex.markdown('### We’ve confirmed his **identity**.', config); // $ExpectType VFile
+alex.html('He walked to class.
'); // $ExpectType VFile
+alex.html('He walked to class.
', exemption); // $ExpectType VFile
+alex.html('He walked to class.
', config); // $ExpectType VFile
+alex.text('The `boogeyman`.'); // $ExpectType VFile
+alex.text('The `boogeyman`.', exemption); // $ExpectType VFile
+alex.text('The `boogeyman`.', config); // $ExpectType VFile
diff --git a/types/alex/index.d.ts b/types/alex/index.d.ts
new file mode 100644
index 000000000000000..a1e5f78296664af
--- /dev/null
+++ b/types/alex/index.d.ts
@@ -0,0 +1,49 @@
+// Type definitions for alex 8.1
+// Project: https://alexjs.com
+// Definitions by: Piotr Błażejewicz (Peter Blazejewicz)
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+// TypeScript Version: 3.0
+
+///
+
+import * as vfile from 'vfile';
+
+/**
+ * finds gender favoring, polarizing, race related, religion inconsiderate, or other unequal phrasing in text.
+ */
+declare function alex(value: vfile.VFile | string, config?: alex.Config): vfile.VFile;
+
+declare namespace alex {
+ /**
+ * This is either an array of words to ignore or custom Alex' config
+ */
+ type Config = AlexOptions | string[];
+
+ interface AlexOptions {
+ /** an array of rules (the default is []) */
+ allow?: string[];
+ /**
+ * When turned on (`true`), pairs such as `he` and `she` and `garbageman` or `garbagewoman` are seen as errors.
+ * When turned off (`false`, the default), such pairs are okay
+ */
+ noBinary?: boolean;
+ /**
+ * the minimum rating (including) that you want to check for.
+ * If you set it to 1 (maybe) then it will warn for level 1 and 2 (likely) profanities,
+ * but not for level 0 (unlikely).
+ */
+ profanitySureness?: 0 | 1 | 2;
+ }
+
+ /** Check Markdown (ignoring syntax). */
+ function markdown(value: vfile.VFile | string, config?: Config): vfile.VFile;
+
+ /** Check HTML (ignoring syntax). */
+ function html(value: vfile.VFile | string, config?: Config): vfile.VFile;
+
+ /** Check plain text (as in, syntax is checked). */
+ function text(value: vfile.VFile | string, config?: Config): vfile.VFile;
+}
+
+export as namespace alex;
+export = alex;
diff --git a/types/jest-matcher-utils/package.json b/types/alex/package.json
similarity index 67%
rename from types/jest-matcher-utils/package.json
rename to types/alex/package.json
index 2cc9b48ed619f57..421554df5b3732b 100644
--- a/types/jest-matcher-utils/package.json
+++ b/types/alex/package.json
@@ -1,6 +1,6 @@
{
"private": true,
"dependencies": {
- "chalk": "^2.2.0"
+ "vfile": "^4.0.2"
}
}
diff --git a/types/jest-matchers/tsconfig.json b/types/alex/tsconfig.json
similarity index 93%
rename from types/jest-matchers/tsconfig.json
rename to types/alex/tsconfig.json
index 123b6057797eec1..af9ca94fb08c429 100644
--- a/types/jest-matchers/tsconfig.json
+++ b/types/alex/tsconfig.json
@@ -6,8 +6,8 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": true,
"strictFunctionTypes": true,
+ "strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
@@ -18,6 +18,6 @@
},
"files": [
"index.d.ts",
- "jest-matchers-tests.ts"
+ "alex-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/hapi__accept/tslint.json b/types/alex/tslint.json
similarity index 100%
rename from types/hapi__accept/tslint.json
rename to types/alex/tslint.json
diff --git a/types/alexa-sdk/tsconfig.json b/types/alexa-sdk/tsconfig.json
index acc11c8263c38ec..1754d3c681dafac 100644
--- a/types/alexa-sdk/tsconfig.json
+++ b/types/alexa-sdk/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"alexa-sdk-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/alexa-sdk/tslint.json b/types/alexa-sdk/tslint.json
index 2fab668234058a3..c70652999a7791e 100644
--- a/types/alexa-sdk/tslint.json
+++ b/types/alexa-sdk/tslint.json
@@ -1,12 +1,12 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "object-literal-shorthand": false,
- "object-literal-key-quote": false,
+ "no-any": false,
"no-empty-interface": false,
- "prefer-method-signature": false,
+ "npm-naming": false,
+ "object-literal-key-quote": false,
"object-literal-key-quotes": false,
- "no-any": false,
- "npm-naming": false
+ "object-literal-shorthand": false,
+ "prefer-method-signature": false
}
}
\ No newline at end of file
diff --git a/types/algoliasearch/index.d.ts b/types/algoliasearch/index.d.ts
index 4385044cbb81ddb..669a3b8083cf18b 100644
--- a/types/algoliasearch/index.d.ts
+++ b/types/algoliasearch/index.d.ts
@@ -999,7 +999,7 @@ declare namespace algoliasearch {
}
/**
* Describes the options used when generating new api keys
- *
+ *
* @see https://www.algolia.com/doc/api-reference/api-methods/generate-secured-api-key/
*/
interface SecuredApiOptions extends QueryParameters {
@@ -1270,7 +1270,7 @@ declare namespace algoliasearch {
* Filter the query by a set of tags.
* Default: []
*/
- tagFilters?: string[];
+ tagFilters?: (string|string[])[];
/**
* Filter the query by a set of facets.
* Default: []
@@ -1318,7 +1318,7 @@ declare namespace algoliasearch {
sortFacetValuesBy?: 'count' | 'alpha';
ruleContexts?: string[];
-
+
/**
* allow the usage of an AB-test. This parameter is only allowed for queries, not for settings.
* default: true
@@ -1416,6 +1416,7 @@ declare namespace algoliasearch {
| 'logs'
| 'seeUnretrievableAttributes')[];
validity: number;
+ indexes?: string[];
description?: string;
}
diff --git a/types/algoliasearch/lite/index.d.ts b/types/algoliasearch/lite/index.d.ts
index f0369cb47b29c99..487c6fac29988dc 100644
--- a/types/algoliasearch/lite/index.d.ts
+++ b/types/algoliasearch/lite/index.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for algoliasearch-client-js 3.30.1
+// Type definitions for algoliasearch-client-js 3.35
// Project: https://github.com/algolia/algoliasearch-client-js
// Definitions by: Baptiste Coquelle
// Haroen Viaene
@@ -89,18 +89,23 @@ declare namespace algoliasearch {
indexName: string;
/**
* Gets a specific object
- * https://github.com/algolia/algoliasearch-client-js#find-by-ids---getobjects
+ * https://algolia.com/doc/api-reference/api-methods/get-objects/#retrieve-only-one-object
*/
getObject(objectID: string, cb: (err: Error, res: {}) => void): void;
/**
* Gets specific attributes from an object
- * https://github.com/algolia/algoliasearch-client-js#find-by-ids---getobjects
+ * https://algolia.com/doc/api-reference/api-methods/get-objects/#retrieve-only-one-object
*/
getObject(
objectID: string,
attributes: string[],
cb: (err: Error, res: {}) => void
): void;
+ /**
+ * Gets specific attributes from an object
+ * https://algolia.com/doc/api-reference/api-methods/get-objects/#retrieve-only-one-object
+ */
+ getObject(objectID: string, attributes?: string[]): Promise;
/**
* Gets a list of objects
* https://github.com/algolia/algoliasearch-client-js#find-by-ids---getobjects
diff --git a/types/algoliasearch/tsconfig.json b/types/algoliasearch/tsconfig.json
index 3358732ba335101..ab4eccc212fd999 100644
--- a/types/algoliasearch/tsconfig.json
+++ b/types/algoliasearch/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"algoliasearch-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/algoliasearch/tslint.json b/types/algoliasearch/tslint.json
index 4ef1833aa42c524..f067f52c92bf51a 100644
--- a/types/algoliasearch/tslint.json
+++ b/types/algoliasearch/tslint.json
@@ -1,80 +1,25 @@
{
- "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,
- "npm-naming": 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",
+ "rules": {
+ "adjacent-overload-signatures": false,
+ "array-type": false,
+ "ban-types": false,
+ "callable-types": false,
+ "dt-header": false,
+ "interface-over-type-literal": false,
+ "jsdoc-format": false,
+ "max-line-length": false,
+ "no-consecutive-blank-lines": false,
+ "no-duplicate-imports": false,
+ "no-padding": false,
+ "no-redundant-jsdoc": false,
+ "no-redundant-jsdoc-2": false,
+ "no-self-import": false,
+ "no-unnecessary-generics": false,
+ "prefer-const": false,
+ "prefer-method-signature": false,
+ "semicolon": false,
+ "unified-signatures": false,
+ "whitespace": false
+ }
+}
\ No newline at end of file
diff --git a/types/ali-app/tslint.json b/types/ali-app/tslint.json
index f491d1bed9d84d5..c5d2dff01bd77af 100644
--- a/types/ali-app/tslint.json
+++ b/types/ali-app/tslint.json
@@ -1,7 +1,7 @@
{
- "extends": "dtslint/dt.json",
- "rules": {
- "no-mergeable-namespace": false,
- "no-unnecessary-generics": false
- }
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "no-mergeable-namespace": false,
+ "no-unnecessary-generics": false
+ }
}
\ No newline at end of file
diff --git a/types/ali-oss/tslint.json b/types/ali-oss/tslint.json
index 8192d88dd15ae16..cb46d48177c140d 100644
--- a/types/ali-oss/tslint.json
+++ b/types/ali-oss/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-mergeable-namespace": false
}
-}
+}
\ No newline at end of file
diff --git a/types/alks-node/tslint.json b/types/alks-node/tslint.json
index 3db14f85eaf7b98..00089f9c20162d7 100644
--- a/types/alks-node/tslint.json
+++ b/types/alks-node/tslint.json
@@ -1 +1,6 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "no-outside-dependencies": false
+ }
+}
\ No newline at end of file
diff --git a/types/alt/tsconfig.json b/types/alt/tsconfig.json
index 82260e525d4dffc..a300b39423946cf 100644
--- a/types/alt/tsconfig.json
+++ b/types/alt/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"alt-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/alt/tslint.json b/types/alt/tslint.json
index 6c7fd03ccda21f4..839574f2f323246 100644
--- a/types/alt/tslint.json
+++ b/types/alt/tslint.json
@@ -3,79 +3,27 @@
"rules": {
"adjacent-overload-signatures": false,
"array-type": false,
- "arrow-return-shorthand": false,
"ban-types": false,
"callable-types": false,
"comment-format": false,
"dt-header": false,
- "npm-naming": 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-angle-bracket-type-assertion": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/amap-js-api-transfer/amap-js-api-transfer-tests.ts b/types/amap-js-api-transfer/amap-js-api-transfer-tests.ts
new file mode 100644
index 000000000000000..59dccba1aeebb23
--- /dev/null
+++ b/types/amap-js-api-transfer/amap-js-api-transfer-tests.ts
@@ -0,0 +1,371 @@
+declare const map: AMap.Map;
+declare const lnglat: AMap.LngLat;
+declare const lnglatTuple: [number, number];
+
+// $ExpectError
+new AMap.Transfer();
+// $ExpectType Transfer
+new AMap.Transfer({
+ city: 'city'
+});
+// $ExpectType Transfer
+const transfer = new AMap.Transfer({
+ city: 'city1',
+ policy: AMap.TransferPolicy.LEAST_TIME,
+ nightflag: true,
+ cityd: 'city2',
+ extensions: 'base',
+ map,
+ panel: 'panel',
+ hideMarkers: false,
+ isOutline: true,
+ outlineColor: 'green',
+ autoFitView: true
+});
+
+// $ExpectType void
+transfer.search(lnglat, lnglat);
+// $ExpectType void
+transfer.search(lnglatTuple, lnglatTuple);
+// $ExpectType void
+transfer.search(lnglat, lnglat, (status, result) => {
+ const temp: 'complete' | 'no_data' | 'error' = status;
+ if (typeof result !== 'string') {
+ // $ExpectType SearchResultBase
+ result;
+ // $ExpectType LngLat
+ result.destination;
+ // $ExpectType Poi | undefined
+ result.end;
+ if (result.end) {
+ const end = result.end;
+ // $ExpectType LngLat
+ end.location;
+ // $ExpectType string
+ end.name;
+ // $ExpectType "start" | "end"
+ end.type;
+ }
+ // $ExpectType string
+ result.info;
+ // $ExpectType LngLat
+ result.origin;
+ // $ExpectType TransferPlan[]
+ result.plans;
+ {
+ const plan = result.plans[0];
+ // $ExpectType number
+ plan.cost;
+ // $ExpectType number
+ plan.distance;
+ // $ExpectType boolean
+ plan.nightLine;
+ // $ExpectType LngLat[]
+ plan.path;
+ // $ExpectType number
+ plan.railway_distance;
+ // $ExpectType Segment[]
+ plan.segments;
+ const segments = plan.segments[0];
+ switch (segments.transit_mode) {
+ case 'WALK':
+ // $ExpectType number
+ segments.distance;
+ // $ExpectType string
+ segments.instruction;
+ // $ExpectType number
+ segments.time;
+ // $ExpectType WalkDetails
+ const walkDetails = segments.transit;
+ {
+ // $ExpectType LngLat
+ walkDetails.destination;
+ // $ExpectType LngLat
+ walkDetails.origin;
+ // $ExpectType LngLat[]
+ walkDetails.path;
+ // $ExpectType WalkStep[]
+ walkDetails.steps;
+ const walkStep = walkDetails.steps[0];
+ if (walkStep) {
+ // $ExpectType string
+ walkStep.action;
+ // $ExpectType string
+ walkStep.assist_action;
+ // $ExpectType number
+ walkStep.distance;
+ // $ExpectType string
+ walkStep.instruction;
+ // $ExpectType LngLat[]
+ walkStep.path;
+ // $ExpectType string
+ walkStep.road;
+ // $ExpectType number
+ walkStep.time;
+ }
+ }
+ // $ExpectType "WALK"
+ segments.transit_mode;
+ break;
+ case 'TAXI':
+ // $ExpectType number
+ segments.distance;
+ // $ExpectType string
+ segments.instruction;
+ // $ExpectType number
+ segments.time;
+ // $ExpectType string
+ segments.instruction;
+ // $ExpectType TaxiDetails
+ const taxiDetails = segments.transit;
+ {
+ // $ExpectType LngLat
+ taxiDetails.destination;
+ // $ExpectType number
+ taxiDetails.distance;
+ // $ExpectType LngLat
+ taxiDetails.origin;
+ // $ExpectType string
+ taxiDetails.sname;
+ // $ExpectType number
+ taxiDetails.time;
+ // $ExpectType string
+ taxiDetails.tname;
+ }
+ // $ExpectType "TAXI"
+ segments.transit_mode;
+ break;
+ case 'RAILWAY':
+ // $ExpectType number
+ segments.distance;
+ // $ExpectType string
+ segments.instruction;
+ // $ExpectType number
+ segments.time;
+ // $ExpectType RailwayDetails
+ const railwayDetails = segments.transit;
+ {
+ // $ExpectType RailStop
+ const arrivalStop = railwayDetails.arrival_stop;
+ {
+ // $ExpectType string
+ arrivalStop.adcode;
+ // $ExpectType string
+ arrivalStop.id;
+ // $ExpectType LngLat
+ arrivalStop.location;
+ // $ExpectType string
+ arrivalStop.name;
+ // $ExpectType RailwaySegment | undefined
+ arrivalStop.segment;
+ // $ExpectType number
+ arrivalStop.time;
+ }
+ // $ExpectType RailStop
+ railwayDetails.departure_stop;
+ // $ExpectType number
+ railwayDetails.distance;
+ // $ExpectType string
+ railwayDetails.id;
+ // $ExpectType string
+ railwayDetails.name;
+ // $ExpectType Space[]
+ railwayDetails.spaces;
+ {
+ const space = railwayDetails.spaces[0];
+ // $ExpectType number
+ space.cost;
+ // $ExpectType string | never[]
+ space.type;
+ }
+ // $ExpectType number
+ railwayDetails.time;
+ // $ExpectType string
+ railwayDetails.trip;
+ // $ExpectType string
+ railwayDetails.type;
+
+ if ('alters' in railwayDetails) {
+ // $ExpectType Alter[]
+ railwayDetails.alters;
+ {
+ const alter = railwayDetails.alters[0];
+ // $ExpectType string
+ alter.id;
+ // $ExpectType string
+ alter.name;
+ }
+ railwayDetails.alters;
+ // $ExpectType number
+ railwayDetails.via_num;
+ // $ExpectType ViaStop[]
+ railwayDetails.via_stops;
+ {
+ const viaStop = railwayDetails.via_stops[0];
+ // $ExpectType string
+ viaStop.id;
+ // $ExpectType LngLat
+ viaStop.location;
+ // $ExpectType string
+ viaStop.name;
+ // $ExpectType number
+ viaStop.time;
+ // $ExpectType number
+ viaStop.wait;
+ }
+ }
+ }
+ // $ExpectType "RAILWAY"
+ segments.transit_mode;
+ break;
+ case 'SUBWAY':
+ case 'METRO_RAIL':
+ case 'BUS':
+ // $ExpectType number
+ segments.distance;
+ // $ExpectType string
+ segments.instruction;
+ // $ExpectType number
+ segments.time;
+ // $ExpectType TransitDetails
+ const transitDetail = segments.transit;
+ {
+ // $ExpectType SubwayEntrance | undefined
+ const exit = transitDetail.exit;
+ if (exit) {
+ // $ExpectType LngLat
+ exit.location;
+ // $ExpectType string
+ exit.name;
+ }
+ // $ExpectType SubwayEntrance | undefined
+ transitDetail.entrance;
+ // $ExpectType TransitLine[]
+ transitDetail.lines;
+ {
+ const line = transitDetail.lines[0];
+ // $ExpectType string | never[]
+ line.etime;
+ // $ExpectType string
+ line.id;
+ // $ExpectType string
+ line.name;
+ // $ExpectType string | never[]
+ line.stime;
+ // $ExpectType string
+ line.type;
+ }
+ // $ExpectType Stop
+ const offStation = transitDetail.off_station;
+ {
+ // $ExpectType string
+ offStation.id;
+ // $ExpectType LngLat
+ offStation.location;
+ // $ExpectType string
+ offStation.name;
+ // $ExpectType TransitSegment | undefined
+ offStation.segment;
+ }
+ // $ExpectType Stop
+ transitDetail.on_station;
+ // $ExpectType LngLat[]
+ transitDetail.path;
+ // $ExpectType number
+ transitDetail.via_num;
+ // $ExpectType Stop[]
+ transitDetail.via_stops;
+ {
+ const viaStop = transitDetail.via_stops[0];
+ // $ExpectType string
+ viaStop.id;
+ // $ExpectType LngLat
+ viaStop.location;
+ // $ExpectType string
+ viaStop.name;
+ }
+ }
+ // $ExpectType "SUBWAY" | "METRO_RAIL" | "BUS"
+ segments.transit_mode;
+ break;
+ default:
+ // $ExpectType never
+ segments;
+ }
+ // $ExpectType number
+ plan.taxi_distance;
+ // $ExpectType number
+ plan.time;
+ // $ExpectType number
+ plan.transit_distance;
+ // $ExpectType number
+ plan.walking_distance;
+ }
+ // $ExpectType Poi | undefined
+ result.start;
+ // $ExpectType number
+ result.taxi_cost;
+ } else {
+ // $ExpectType string
+ result;
+ }
+});
+
+// $ExpectType void
+transfer.search([{ keyword: 'origin' }, { keyword: 'destination' }], (status, result) => {
+ const temp: 'complete' | 'no_data' | 'error' = status;
+ if (typeof result !== 'string') {
+ // $ExpectType SearchResultExt
+ result;
+ // $ExpectType PoiExt
+ result.start;
+ // $ExpectType string
+ result.originName;
+ // $ExpectType PoiExt
+ result.end;
+ // $ExpectType string
+ result.destinationName;
+ } else {
+ // $ExpectType string
+ result;
+ }
+});
+
+transfer.on('complete', (event: AMap.Transfer.EventMap['complete']) => {
+ // $ExpectType "complete"
+ event.type;
+ if ('info' in event) {
+ // $ExpectType string
+ event.info;
+ // $ExpectType LngLat
+ event.origin;
+ // $ExpectType LngLat
+ event.destination;
+ // $ExpectType number
+ event.taxi_cost;
+ // $ExpectType TransferPlan[]
+ event.plans;
+ }
+ if ('originName' in event) {
+ // $ExpectType PoiExt
+ event.start;
+ // $ExpectType PoiExt
+ event.end;
+ // $ExpectType string
+ event.originName;
+ // $ExpectType string
+ event.destinationName;
+ } else {
+ // $ExpectType Poi | undefined
+ event.start;
+ // $ExpectType Poi | undefined
+ event.end;
+ }
+});
+
+transfer.on('error', (event: AMap.Transfer.EventMap['error']) => {
+ // $ExpectType "error"
+ event.type;
+ // $ExpectType string
+ event.info;
+});
diff --git a/types/amap-js-api-transfer/index.d.ts b/types/amap-js-api-transfer/index.d.ts
new file mode 100644
index 000000000000000..fed8c55034bf219
--- /dev/null
+++ b/types/amap-js-api-transfer/index.d.ts
@@ -0,0 +1,609 @@
+// Type definitions for non-npm package amap-js-api-transfer 1.4
+// Project: https://lbs.amap.com/api/javascript-api/reference/route-search#m_AMap.Transfer
+// Definitions by: breeze9527
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+// TypeScript Version: 2.8
+
+///
+///
+
+declare namespace AMap {
+ enum TransferPolicy {
+ /**
+ * 最快捷模式
+ */
+ LEAST_TIME = 0,
+ /**
+ * 最经济模式
+ */
+ LEAST_FEE = 1,
+ /**
+ * 最少换乘模式
+ */
+ LEAST_TRANSFER = 2,
+ /**
+ * 最少步行模式
+ */
+ LEAST_WALK = 3,
+ /**
+ * 最舒适模式
+ */
+ MOST_COMFORT = 4,
+ /**
+ * 不乘地铁模式
+ */
+ NO_SUBWAY = 5
+ }
+
+ namespace Transfer {
+ interface EventMap {
+ error: Event<'error', { info: string }>;
+ complete: Event<'complete', SearchResult>;
+ }
+ interface Options {
+ /**
+ * 公交换乘的城市,支持城市名称、城市区号、电话区号,此项为必填
+ */
+ city: string;
+ /**
+ * 公交换乘策略
+ */
+ policy?: TransferPolicy;
+ /**
+ * 是否计算夜班车,默认为不计算
+ */
+ nightflag?: boolean;
+ /**
+ * 终点城市,跨城公交路径规划时为必填参数
+ */
+ cityd?: string;
+ /**
+ * 返回结果控制, 默认值: base
+ * base:返回基本信息
+ * all:返回全部信息
+ */
+ extensions?: 'all' | 'base';
+ /**
+ * AMap.Map对象, 展现结果的地图实例
+ */
+ map?: Map;
+ /**
+ * 结果列表的HTML容器id或容器元素
+ */
+ panel?: string;
+ /**
+ * 设置是否隐藏路径规划的起始点图标
+ */
+ hideMarkers?: boolean;
+ /**
+ * 使用map属性时,绘制的规划线路是否显示描边。默认为true
+ */
+ isOutline?: boolean;
+ /**
+ * 使用map属性时,绘制的规划线路的描边颜色。默认为'white'
+ */
+ outlineColor?: string;
+ /**
+ * 用于控制在路径规划结束后,是否自动调整地图视野使绘制的路线处于视口的可见范围
+ */
+ autoFitView?: boolean;
+
+ // internal
+ showDir?: boolean;
+ }
+ interface SearchPoint {
+ /**
+ * 关键词
+ */
+ keyword: string;
+ }
+ interface SegmentCommon {
+ /**
+ * 此换乘段预期用时,单位:秒
+ */
+ time: number;
+ /**
+ * 此换乘段的文字描述
+ */
+ instruction: string;
+ /**
+ * 此换乘段距离
+ */
+ distance: number;
+ }
+ interface WalkStep {
+ /**
+ * 步行子路段描述
+ */
+ instruction: string;
+ /**
+ * 道路
+ */
+ road: string;
+ /**
+ * 步行子路段距离,单位:米
+ */
+ distance: number;
+ /**
+ * 步行子路段预计使用时间,单位:秒
+ */
+ time: number;
+ /**
+ * 步行子路段坐标集合
+ */
+ path: LngLat[];
+ /**
+ * 本步行子路段完成后动作
+ */
+ action: string;
+ /**
+ * 步行子路段完成后辅助动作,一般为到达某个公交站点或目的地时返回
+ */
+ assist_action: string;
+ }
+ interface WalkDetails {
+ /**
+ * 此换乘段的步行起点
+ */
+ origin: LngLat;
+ /**
+ * 此换乘段的步行终点
+ */
+ destination: LngLat;
+ /**
+ * 此换乘段坐标集合
+ */
+ path: LngLat[];
+ /**
+ * 步行子路段WalkStep列表
+ */
+ steps: WalkStep[];
+ }
+ interface WalkSegment extends SegmentCommon {
+ /**
+ * 换乘动作类型
+ */
+ transit_mode: 'WALK';
+ /**
+ * 此换乘段导航信息
+ */
+ transit: WalkDetails;
+ }
+ interface TaxiDetails {
+ /**
+ * 耗时,单位:秒
+ */
+ time: number;
+ /**
+ * 该方案的总距离,单位:米
+ */
+ distance: number;
+ /**
+ * 打车起点坐标
+ */
+ origin: LngLat;
+ /**
+ * 打车终点坐标
+ */
+ destination: LngLat;
+ /**
+ * 起点名称
+ */
+ sname: string;
+ /**
+ * 终点名称
+ */
+ tname: string;
+ }
+ interface TaxiSegment extends SegmentCommon {
+ /**
+ * 换乘动作类型
+ */
+ transit_mode: 'TAXI';
+ /**
+ * 此换乘段导航信息
+ */
+ transit: TaxiDetails;
+ }
+ interface Stop {
+ /**
+ * 公交站点名称
+ */
+ name: string;
+ /**
+ * 公交站点ID
+ */
+ id: string;
+ /**
+ * 站点经纬度信息
+ */
+ location: LngLat;
+ segment?: TransitSegment;
+ }
+ interface TransitLine {
+ /**
+ * 公交路线名
+ */
+ name: string;
+ /**
+ * 公交路线ID
+ */
+ id: string;
+ /**
+ * 公交类型
+ */
+ type: string;
+ /**
+ * 公交路线首班车时间
+ */
+ stime: string | never[];
+ /**
+ * 公交路线末班车时间
+ */
+ etime: string | never[];
+ }
+ interface SubwayEntrance {
+ /**
+ * 地铁口名称
+ */
+ name: string;
+ /**
+ * 地铁口经纬度坐标
+ */
+ location: LngLat;
+ }
+ interface TransitDetails {
+ /**
+ * 此换乘段的上车站
+ */
+ on_station: Stop;
+ /**
+ * 此换乘段的下车站
+ */
+ off_station: Stop;
+ /**
+ * 此换乘段公交部分(上车站-下车站)坐标集合
+ */
+ path: LngLat[];
+ /**
+ * 途径公交站点数(不包括上车站和下车站)
+ */
+ via_num: number;
+ /**
+ * 途径公交站点集合(不包括上车站和下车站)
+ */
+ via_stops: Stop[];
+ /**
+ * 此换乘段公交路线
+ */
+ lines: TransitLine[];
+ /**
+ * 地铁站入口
+ */
+ entrance?: SubwayEntrance;
+ /**
+ * 地铁站出口
+ */
+ exit?: SubwayEntrance;
+ }
+ interface TransitSegment extends SegmentCommon {
+ /**
+ * 换乘动作类型
+ */
+ transit_mode: 'SUBWAY' | 'METRO_RAIL' | 'BUS';
+ /**
+ * 此换乘段导航信息
+ */
+ transit: TransitDetails;
+ }
+ interface RailStop {
+ /**
+ * 上、下车站点所在城市的adcode
+ */
+ adcode: string;
+ /**
+ * 上、下车站点ID
+ */
+ id: string;
+ /**
+ * 上、下站点经纬度信息
+ */
+ location: LngLat;
+ /**
+ * 上、下车站点名称
+ */
+ name: string;
+ /**
+ * 上下车点发车时间
+ */
+ time: number;
+ wait?: number;
+ segment?: RailwaySegment;
+ }
+ interface Space {
+ /**
+ * 仓位编码,参考仓位级别表
+ */
+ type: string | never[];
+ /**
+ * 仓位费用
+ */
+ cost: number;
+ }
+ interface RailwayDetailsBase {
+ /**
+ * 线路id编码
+ */
+ id: string;
+ /**
+ * 线路名称
+ */
+ name: string;
+ /**
+ * 线路车次号
+ */
+ trip: string;
+ /**
+ * 线路车次类型,参考火车路线类型列表
+ */
+ type: string;
+ /**
+ * 该换乘段的行车总距离
+ */
+ distance: number;
+ /**
+ * 该线路车段耗时
+ */
+ time: number;
+ /**
+ * 火车始发站信息
+ */
+ departure_stop: RailStop;
+ /**
+ * 火车到站信息
+ */
+ arrival_stop: RailStop;
+ /**
+ * 仓位及价格信息
+ */
+ spaces: Space[];
+ }
+ interface Alter {
+ /**
+ * 备选方案ID
+ */
+ id: string;
+ /**
+ * 备选线路名称
+ */
+ name: string;
+ }
+ interface ViaStop {
+ /**
+ * 途径车站点ID
+ */
+ id: string;
+ /**
+ * 站点经纬度信息
+ */
+ location: LngLat;
+ /**
+ * 途径车站点名称
+ */
+ name: string;
+ /**
+ * 途径站点的进站时间,如大于24:00,则表示跨天
+ */
+ time: number;
+ /**
+ * 途径站点的停靠时间,单位:分钟
+ */
+ wait: number;
+ }
+ interface RailwayDetailsExt extends RailwayDetailsBase {
+ /**
+ * 途经站点信息
+ */
+ via_stops: ViaStop[];
+ /**
+ * 途经站点数量
+ */
+ via_num: number;
+ /**
+ * 聚合的备选方案
+ */
+ alters: Alter[];
+ }
+ type RailwayDetails = RailwayDetailsBase | RailwayDetailsExt;
+ interface RailwaySegment extends SegmentCommon {
+ /**
+ * 换乘动作类型
+ */
+ transit_mode: 'RAILWAY';
+ /**
+ * 此换乘段导航信息
+ */
+ transit: RailwayDetails;
+ }
+ type Segment = WalkSegment | TaxiSegment | TransitSegment | RailwaySegment;
+ interface TransferPlan {
+ /**
+ * 此换乘方案价格,单位:元
+ */
+ cost: number;
+ /**
+ * 预期时间,单位:秒
+ */
+ time: number;
+ /**
+ * 是否夜间线路
+ */
+ nightLine: boolean;
+ /**
+ * 换乘路段列表,以每次换乘动结束作为分段点,将整个换乘方案分隔成若干 Segment(换乘路段)
+ */
+ segments: Segment[];
+ /**
+ * 此方案公交行驶距离,单位:米
+ */
+ transit_distance: number;
+ /**
+ * 此方案火车行驶距离,单位:米
+ */
+ railway_distance: number;
+ /**
+ * 此方案总步行距离,单位:米
+ */
+ walking_distance: number;
+ /**
+ * 此方案出租车行驶距离,单位:米
+ */
+ taxi_distance: number;
+ /**
+ * 此换乘方案全程距离,单位:米
+ */
+ distance: number;
+ /**
+ * 此换乘方案的路径坐标集合
+ */
+ path: LngLat[];
+ }
+ interface Poi {
+ location: LngLat;
+ name: string;
+ type: 'start' | 'end';
+ }
+ interface SearchResultCommon {
+ /**
+ * 成功状态说明
+ */
+ info: string;
+ /**
+ * 公交换乘起点坐标
+ */
+ origin: LngLat;
+ /**
+ * 公交换乘终点坐标
+ */
+ destination: LngLat;
+ /**
+ * 出租车费用,单位:元
+ */
+ taxi_cost: number;
+ /**
+ * 换乘方案列表
+ */
+ plans: TransferPlan[];
+ }
+ interface SearchResultBase extends SearchResultCommon {
+ /**
+ * 公交换乘起点
+ */
+ start?: Poi;
+ /**
+ * 公交换乘终点
+ */
+ end?: Poi;
+ }
+ interface SearchResultExt extends SearchResultCommon {
+ /**
+ * 公交换乘起点
+ */
+ start: PlaceSearch.PoiExt;
+ /**
+ * 公交换乘终点
+ */
+ end: PlaceSearch.PoiExt;
+ /**
+ * 公交换乘起点名称
+ */
+ originName: string;
+ /**
+ * 公交换乘终点名称
+ */
+ destinationName: string;
+ }
+
+ type SearchResult = SearchResultBase | SearchResultExt;
+ type SearchStatus = 'complete' | 'error' | 'no_data';
+ }
+
+ class Transfer extends EventEmitter {
+ /**
+ * 公交换乘服务
+ * @param options 构造函数选项
+ */
+ constructor(options: Transfer.Options);
+ /**
+ * 根据起点和终点坐标,进行公交换乘查询
+ * @param origin 起点坐标
+ * @param destination 终点坐标
+ * @param callback 查询回调
+ */
+ search(
+ origin: LocationValue,
+ destination: LocationValue,
+ callback?: (status: Transfer.SearchStatus, result: string | Transfer.SearchResultBase) => void
+ ): void;
+ /**
+ * 根据起点和终点坐标,进行公交换乘查询
+ * @param path 路径名称关键字
+ * @param callback 路径回调
+ */
+ search(
+ path: [Transfer.SearchPoint, Transfer.SearchPoint],
+ callback?: (status: Transfer.SearchStatus, result: string | Transfer.SearchResultExt) => void
+ ): void;
+ /**
+ * 设置公交换乘策略
+ * @param policy 公交换乘策略
+ */
+ setPolicy(policy?: TransferPolicy): void;
+ /**
+ * 设置公交换乘查询的城市
+ * @param city 城市名称、城市区号、电话区号
+ */
+ setCity(city?: string): void;
+ /**
+ * 设置公交换乘查询的城市
+ * @param city 城市名称、城市区号、电话区号
+ */
+ setCityd(city?: string): void;
+ /**
+ * 设置公交路径规划出发时间
+ * @param time 时间
+ * @param date 日期
+ */
+ leaveAt(time?: string, date?: string): void;
+ /**
+ * 清除结果显示
+ */
+ clear(): void;
+ /**
+ * 唤起高德地图客户端公交路径规划
+ * @param obj 唤起参数
+ */
+ searchOnAMAP(obj: {
+ /**
+ * 起点坐标
+ */
+ origin: LocationValue,
+ /**
+ * 起点名称
+ */
+ originName?: string,
+ /**
+ * 终点坐标
+ */
+ destination: LocationValue,
+ /**
+ * 终点名称
+ */
+ destinationName?: string
+ }): void;
+
+ // internal
+ open(): void;
+ close(): void;
+ }
+}
diff --git a/types/amap-js-api-transfer/tsconfig.json b/types/amap-js-api-transfer/tsconfig.json
new file mode 100644
index 000000000000000..4bc3d0f59a09480
--- /dev/null
+++ b/types/amap-js-api-transfer/tsconfig.json
@@ -0,0 +1,24 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": [
+ "es6",
+ "dom"
+ ],
+ "noEmit": true,
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "baseUrl": "../",
+ "typeRoots": [
+ "../"
+ ],
+ "types": [],
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "index.d.ts",
+ "amap-js-api-transfer-tests.ts"
+ ]
+}
diff --git a/types/roads-server/tslint.json b/types/amap-js-api-transfer/tslint.json
similarity index 100%
rename from types/roads-server/tslint.json
rename to types/amap-js-api-transfer/tslint.json
diff --git a/types/amap-js-api/amap-js-api-tests.ts b/types/amap-js-api/amap-js-api-tests.ts
index 6a5a9db8916e864..4e148bb60c8bc17 100644
--- a/types/amap-js-api/amap-js-api-tests.ts
+++ b/types/amap-js-api/amap-js-api-tests.ts
@@ -972,6 +972,18 @@ testPixel.toFixed();
// $ExpectType Pixel
testPixel.toFixed(2);
+/**
+ * plugin.ts
+ */
+
+AMap.plugin('plugin name', () => {
+ // callback
+});
+
+AMap.service('plugin name', () => {
+ // callback
+});
+
/**
* size.ts
*/
diff --git a/types/amap-js-api/index.d.ts b/types/amap-js-api/index.d.ts
index d61a3e7a90baadc..14548bad0ebbb2a 100644
--- a/types/amap-js-api/index.d.ts
+++ b/types/amap-js-api/index.d.ts
@@ -15,6 +15,7 @@
///
///
///
+///
///
///
///
diff --git a/types/amap-js-api/plugin.d.ts b/types/amap-js-api/plugin.d.ts
new file mode 100644
index 000000000000000..b6b7148ab04afa4
--- /dev/null
+++ b/types/amap-js-api/plugin.d.ts
@@ -0,0 +1,14 @@
+declare namespace AMap {
+ /**
+ * 加载插件,
+ * @param name 插件名称
+ * @param callback 插件加载完成后的回调函数
+ */
+ function plugin(plugin: string | string[], callback: () => void): typeof AMap;
+ /**
+ * 加载插件,
+ * @param name 插件名称
+ * @param callback 插件加载完成后的回调函数
+ */
+ function service(plugin: string | string[], callback: () => void): typeof AMap;
+}
diff --git a/types/amap-js-api/tsconfig.json b/types/amap-js-api/tsconfig.json
index 9b512bebdc39780..750bdedd08f6c1e 100644
--- a/types/amap-js-api/tsconfig.json
+++ b/types/amap-js-api/tsconfig.json
@@ -21,4 +21,4 @@
"index.d.ts",
"amap-js-api-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/amazon-connect-streams/index.d.ts b/types/amazon-connect-streams/index.d.ts
index 23ee2bbcccea0d2..5299f7d6b253e7f 100644
--- a/types/amazon-connect-streams/index.d.ts
+++ b/types/amazon-connect-streams/index.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for non-npm package Amazon Connect Streams API 1.3
+// Type definitions for Amazon Connect Streams API 1.4
// Project: https://github.com/aws/amazon-connect-streams
// Definitions by: Andy Hopper
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
diff --git a/types/amazon-product-api/tsconfig.json b/types/amazon-product-api/tsconfig.json
index 060741740bbafb2..b5771192e5096a9 100644
--- a/types/amazon-product-api/tsconfig.json
+++ b/types/amazon-product-api/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"amazon-product-api-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/amazon-product-api/tslint.json b/types/amazon-product-api/tslint.json
index 3d59f55fdabcf45..c0ba88ff74ff548 100644
--- a/types/amazon-product-api/tslint.json
+++ b/types/amazon-product-api/tslint.json
@@ -1,80 +1,19 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/amcharts/tslint.json b/types/amcharts/tslint.json
index 0f117134debe98b..159b250765146f1 100644
--- a/types/amcharts/tslint.json
+++ b/types/amcharts/tslint.json
@@ -1,10 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "max-line-length": [
- true,
- 120
- ],
"npm-naming": false
}
}
\ No newline at end of file
diff --git a/types/amplify-deferred/tsconfig.json b/types/amplify-deferred/tsconfig.json
index 443772e942a31ef..c3158addc6a5e10 100644
--- a/types/amplify-deferred/tsconfig.json
+++ b/types/amplify-deferred/tsconfig.json
@@ -5,9 +5,9 @@
"es6",
"dom"
],
- "noImplicitAny": false,
+ "noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"amplify-deferred-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/amplify/tslint.json b/types/amplify/tslint.json
index 0be107671d6d87c..6d16a08c61491b7 100644
--- a/types/amplify/tslint.json
+++ b/types/amplify/tslint.json
@@ -2,7 +2,7 @@
"extends": "dtslint/dt.json",
"rules": {
"ban-types": false,
- "unified-signatures": false,
- "npm-naming": false
+ "npm-naming": false,
+ "unified-signatures": false
}
}
\ No newline at end of file
diff --git a/types/amplitude-js/amplitude-js-tests.ts b/types/amplitude-js/amplitude-js-tests.ts
index f5eb4b30b92196b..8935ba8760e02d4 100644
--- a/types/amplitude-js/amplitude-js-tests.ts
+++ b/types/amplitude-js/amplitude-js-tests.ts
@@ -1,117 +1,208 @@
-// Tests for Amplitude SDK TypeScript definitions
-
import amplitude = require('amplitude-js');
-module Amplitude.Tests {
-
- function all() {
- var client: amplitude.AmplitudeClient = new amplitude.AmplitudeClient();
- var identify: amplitude.Identify = new amplitude.Identify();
- var revenue: amplitude.Revenue = new amplitude.Revenue();
+(() => {
+ let client: amplitude.AmplitudeClient = new amplitude.AmplitudeClient();
+ let identify: amplitude.Identify = new amplitude.Identify();
+ let revenue: amplitude.Revenue = new amplitude.Revenue();
- client = amplitude.getInstance();
- client = amplitude.getInstance('some name');
+ client = amplitude.getInstance();
+ client = amplitude.getInstance('some name');
- amplitude.__VERSION__ === '1.2.3';
- amplitude.options.logLevel = 'WARN';
+ amplitude.__VERSION__ === '1.2.3';
+ amplitude.options.logLevel = 'WARN';
- amplitude.init('API_KEY', 'USER_ID', {
+ amplitude.init(
+ 'API_KEY',
+ 'USER_ID',
+ {
saveEvents: true,
includeUtm: true,
includeReferrer: true,
batchEvents: true,
- eventUploadThreshold: 50
- }, function () { });
- amplitude.init('API_KEY', 'USER_ID', { includeReferrer: true, includeUtm: true });
- amplitude.init('API_KEY', 'USER_ID');
- amplitude.init('API_KEY');
-
- amplitude.logEvent('Clicked Homepage Button', { 'finished_flow': false, 'clicks': 15 });
- amplitude.logEvent('EVENT_IDENTIFIER_HERE', { 'color': 'blue', 'age': 20, 'key': 'value' });
- amplitude.logEvent("EVENT_IDENTIFIER_HERE", null, (httpCode, response) => { });
- amplitude.logEventWithGroups('initialize_game', { 'key': 'value' }, { 'sport': 'soccer' });
-
- amplitude.setDeviceId('45f0954f-eb79-4463-ac8a-233a6f45a8f0');
- amplitude.setDomain('.amplitude.com');
- amplitude.setGroup('orgId', '15');
- amplitude.setGroup('orgId', ['15', '16']);
- amplitude.setUserId('joe@gmail.com');
- amplitude.setUserId(null);
- amplitude.setUserProperties({ 'gender': 'female', 'sign_up_complete': true })
- amplitude.setVersionName('1.12.3');
- amplitude.isNewSession();
- amplitude.getSessionId() === 123;
-
- amplitude.identify(identify);
- amplitude.logRevenue(3.99, 1, 'product_1234');
- amplitude.logRevenueV2(revenue);
-
-
- client.init('API_KEY', 'USER_ID', {
+ eventUploadThreshold: 50,
+ },
+ () => {},
+ );
+ amplitude.init('API_KEY', 'USER_ID', { includeReferrer: true, includeUtm: true });
+ amplitude.init('API_KEY', 'USER_ID');
+ amplitude.init('API_KEY');
+
+ amplitude.logEvent('Clicked Homepage Button', { finished_flow: false, clicks: 15 });
+ amplitude.logEvent('EVENT_IDENTIFIER_HERE', { color: 'blue', age: 20, key: 'value' });
+ amplitude.logEvent('EVENT_IDENTIFIER_HERE', null, (httpCode, response) => {});
+ amplitude.logEventWithGroups('initialize_game', { key: 'value' }, { sport: 'soccer' });
+
+ amplitude.setDeviceId('45f0954f-eb79-4463-ac8a-233a6f45a8f0');
+ amplitude.setDomain('.amplitude.com');
+ amplitude.setGroup('orgId', '15');
+ amplitude.setGroup('orgId', ['15', '16']);
+ amplitude.setUserId('joe@gmail.com');
+ amplitude.setUserId(null);
+ amplitude.setUserProperties({ gender: 'female', sign_up_complete: true });
+ amplitude.setVersionName('1.12.3');
+ amplitude.isNewSession();
+ amplitude.getSessionId() === 123;
+
+ amplitude.identify(identify);
+ amplitude.logRevenue(3.99, 1, 'product_1234');
+ amplitude.logRevenueV2(revenue);
+
+ client.init(
+ 'API_KEY',
+ 'USER_ID',
+ {
saveEvents: true,
includeUtm: true,
includeReferrer: true,
batchEvents: true,
- eventUploadThreshold: 50
- }, function () { });
- client.init('API_KEY', 'USER_ID', { includeReferrer: true, includeUtm: true });
- client.init('API_KEY', 'USER_ID');
- client.init('API_KEY');
-
- client.logEvent('Clicked Homepage Button', { 'finished_flow': false, 'clicks': 15 });
- client.logEvent('EVENT_IDENTIFIER_HERE', { 'color': 'blue', 'age': 20, 'key': 'value' });
- client.logEvent("EVENT_IDENTIFIER_HERE", null, (httpCode, response) => { });
- client.logEventWithGroups('initialize_game', { 'key': 'value' }, { 'sport': 'soccer' });
- client.logEventWithTimestamp('EVENT_IDENTIFIER_HERE', { 'key': 'value' }, 1505430378000, (httpCode, response) => { });
-
-
- client.setDeviceId('45f0954f-eb79-4463-ac8a-233a6f45a8f0');
- client.setDomain('.amplitude.com');
- client.setUserId('joe@gmail.com');
- client.setUserId(null);
- client.setOptOut(true);
- client.setGroup('type', 'name');
- client.setGroup('type', ['name', 'name2']);
- client.setUserProperties({ 'gender': 'female', 'sign_up_complete': true });
- client.setGlobalUserProperties({ 'gender': 'female', 'sign_up_complete': true });
- client.setVersionName('1.12.3');
- client.setSessionId(1505430378000);
-
- client.options.logLevel = 'WARN';
- client.getSessionId() === 123;
- client.isNewSession() === true;
- client.regenerateDeviceId();
- client.clearUserProperties();
-
- client.identify(identify);
- client.logRevenue(3.99, 1, 'product_1234');
- client.logRevenueV2(revenue);
-
-
- identify = new amplitude.Identify().set('colors', ['rose', 'gold']).add('karma', 1).setOnce('sign_up_date', '2016-03-31');
- identify = new amplitude.Identify().add('karma', 1).add('friends', 1);
- identify = new amplitude.Identify().set('karma', 10).add('karma', 1).unset('karma');
- identify = new amplitude.Identify().append('ab-tests', 'new-user-tests');
- identify.append('some_list', [1, 2, 3, 4, 'values']);
- identify = new amplitude.Identify().prepend('ab-tests', 'new-user-tests');
- identify.prepend('some_list', [1, 2, 3, 4, 'values']);
- identify = new amplitude.Identify().set('user_type', 'beta');
- identify.set('name', { 'first': 'John', 'last': 'Doe' });
- identify = new amplitude.Identify().setOnce('sign_up_date', '2016-04-01');
- identify = new amplitude.Identify().unset('user_type').unset('age');
- identify = new amplitude.Identify()
- .set('colors', ['rose', 'gold'])
- .append('ab-tests', 'campaign_a')
- .append('existing_list', [4, 5]);
-
-
- revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99);
- revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99).setEventProperties({ 'city': 'San Francisco' });
- revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99).setQuantity(5);
- revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99).setRevenueType('purchase');
-
- identify = new client.Identify()
- revenue = new client.Revenue()
- }
-
-}
+ eventUploadThreshold: 50,
+ },
+ () => {},
+ );
+ client.init('API_KEY', 'USER_ID', { includeReferrer: true, includeUtm: true });
+ client.init('API_KEY', 'USER_ID');
+ client.init('API_KEY');
+ client.logEvent('Clicked Homepage Button', { finished_flow: false, clicks: 15 });
+ client.logEvent('EVENT_IDENTIFIER_HERE', { color: 'blue', age: 20, key: 'value' });
+ client.logEvent('EVENT_IDENTIFIER_HERE', null, (httpCode, response) => {});
+ client.logEventWithGroups('initialize_game', { key: 'value' }, { sport: 'soccer' });
+ client.logEventWithTimestamp('EVENT_IDENTIFIER_HERE', { key: 'value' }, 1505430378000, (httpCode, response) => {});
+ client.setDeviceId('45f0954f-eb79-4463-ac8a-233a6f45a8f0');
+ client.setDomain('.amplitude.com');
+ client.setUserId('joe@gmail.com');
+ client.setUserId(null);
+ client.setOptOut(true);
+ client.setGroup('type', 'name');
+ client.setGroup('type', ['name', 'name2']);
+ client.setUserProperties({ gender: 'female', sign_up_complete: true });
+ client.setGlobalUserProperties({ gender: 'female', sign_up_complete: true });
+ client.setVersionName('1.12.3');
+ client.setSessionId(1505430378000);
+ client.options.logLevel = 'WARN';
+ client.getSessionId() === 123;
+ client.isNewSession();
+ client.regenerateDeviceId();
+ client.clearUserProperties();
+ client.identify(identify);
+ client.logRevenue(3.99, 1, 'product_1234');
+ client.logRevenueV2(revenue);
+ identify = new amplitude.Identify()
+ .set('colors', ['rose', 'gold'])
+ .add('karma', 1)
+ .setOnce('sign_up_date', '2016-03-31');
+ identify = new amplitude.Identify().add('karma', 1).add('friends', 1);
+ identify = new amplitude.Identify()
+ .set('karma', 10)
+ .add('karma', 1)
+ .unset('karma');
+ identify = new amplitude.Identify().append('ab-tests', 'new-user-tests');
+ identify.append('some_list', [1, 2, 3, 4, 'values']);
+ identify = new amplitude.Identify().prepend('ab-tests', 'new-user-tests');
+ identify.prepend('some_list', [1, 2, 3, 4, 'values']);
+ identify = new amplitude.Identify().set('user_type', 'beta');
+ identify.set('name', { first: 'John', last: 'Doe' });
+ identify = new amplitude.Identify().setOnce('sign_up_date', '2016-04-01');
+ identify = new amplitude.Identify().unset('user_type').unset('age');
+ identify = new amplitude.Identify()
+ .set('colors', ['rose', 'gold'])
+ .append('ab-tests', 'campaign_a')
+ .append('existing_list', [4, 5]);
+
+ revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99);
+ revenue = new amplitude.Revenue()
+ .setProductId('productIdentifier')
+ .setPrice(10.99)
+ .setEventProperties({ city: 'San Francisco' });
+ revenue = new amplitude.Revenue()
+ .setProductId('productIdentifier')
+ .setPrice(10.99)
+ .setQuantity(5);
+ revenue = new amplitude.Revenue()
+ .setProductId('productIdentifier')
+ .setPrice(10.99)
+ .setRevenueType('purchase');
+
+ identify = new client.Identify();
+ revenue = new client.Revenue();
+})();
+
+new amplitude.Identify();
+let identify = new amplitude.Identify().add('karma', 1).add('friends', 1);
+amplitude.identify(identify); // send the Identify call
+
+identify = new amplitude.Identify().append('ab-tests', 'new-user-tests');
+identify.append('some_list', [1, 2, 3, 4, 'values']);
+amplitude.identify(identify); // send the Identify call
+
+identify = new amplitude.Identify().prepend('ab-tests', 'new-user-tests');
+identify.prepend('some_list', [1, 2, 3, 4, 'values']);
+amplitude.identify(identify); // send the Identify call
+
+identify = new amplitude.Identify().setOnce('sign_up_date', '2016-04-01');
+amplitude.identify(identify); // send the Identify call
+
+identify = new amplitude.Identify().unset('user_type').unset('age');
+amplitude.identify(identify); // send the Identify call
+
+identify = new amplitude.Identify()
+ .set('colors', ['rose', 'gold'])
+ .add('karma', 1)
+ .setOnce('sign_up_date', '2016-03-31');
+amplitude.identify(identify);
+
+amplitude.init('API_KEY', 'USER_ID', { includeReferrer: true, includeUtm: true }, () => {});
+
+amplitude.logEvent('Clicked Homepage Button', { finished_flow: false, clicks: 15 });
+amplitude.logEventWithGroups('Clicked Button', null, { orgId: 24 });
+amplitude.logRevenue(3.99, 1, 'product_1234');
+
+const revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99);
+amplitude.logRevenueV2(revenue);
+amplitude.setDeviceId('45f0954f-eb79-4463-ac8a-233a6f45a8f0');
+amplitude.setGroup('orgId', '15'); // this adds the current user to orgId 15.
+amplitude.setUserProperties({ gender: 'female', sign_up_complete: true });
+amplitude.setVersionName('1.12.3');
+
+const defaults: amplitude.Config = {
+ apiEndpoint: 'api.amplitude.com',
+ batchEvents: false,
+ cookieExpiration: 365 * 10,
+ cookieName: 'amplitude_id',
+ deviceIdFromUrlParam: false,
+ domain: '',
+ eventUploadPeriodMillis: 30 * 1000, // 30s
+ eventUploadThreshold: 30,
+ forceHttps: true,
+ includeGclid: false,
+ includeReferrer: false,
+ includeUtm: false,
+ language: 'en',
+ logLevel: 'WARN',
+ optOut: false,
+ onError: () => {},
+ platform: 'iOS',
+ savedMaxCount: 1000,
+ saveEvents: true,
+ saveParamsReferrerOncePerSession: true,
+ secureCookie: false,
+ sessionTimeout: 30 * 60 * 1000,
+ trackingOptions: {
+ city: true,
+ country: true,
+ carrier: true,
+ device_manufacturer: true,
+ device_model: true,
+ dma: true,
+ ip_address: true,
+ language: true,
+ os_name: true,
+ os_version: true,
+ platform: true,
+ region: true,
+ version_name: true,
+ },
+ unsetParamsReferrerOnNewSession: false,
+ unsentKey: 'amplitude_unsent',
+ unsentIdentifyKey: 'amplitude_unsent_identify',
+ uploadBatchSize: 100,
+};
diff --git a/types/amplitude-js/index.d.ts b/types/amplitude-js/index.d.ts
index 7558c732d12e821..131c2584b08da2b 100644
--- a/types/amplitude-js/index.d.ts
+++ b/types/amplitude-js/index.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for Amplitude SDK 4.4.0
+// Type definitions for Amplitude SDK 5.8
// Project: https://github.com/amplitude/Amplitude-Javascript
// Definitions by: Arvydas Sidorenko
// Dan Manastireanu
@@ -7,10 +7,10 @@
export as namespace amplitude;
-type Callback = (responseCode: number, responseBody: string, details?: { reason: string; }) => void;
-type LogReturn = number | void;
+export type Callback = (responseCode: number, responseBody: string, details?: { reason: string }) => void;
+export type LogReturn = number | undefined;
-interface Config {
+export interface Config {
apiEndpoint?: string;
batchEvents?: boolean;
cookieExpiration?: number;
@@ -28,15 +28,19 @@ interface Config {
language?: string;
logLevel?: 'DISABLE' | 'ERROR' | 'WARN' | 'INFO';
optOut?: boolean;
+ onError?: () => void;
platform?: string;
saveEvents?: boolean;
savedMaxCount?: number;
saveParamsReferrerOncePerSession?: boolean;
+ secureCookie?: boolean;
sessionTimeout?: number;
useNativeDeviceInfo?: boolean;
trackingOptions?: {
city?: boolean;
country?: boolean;
+ carrier?: boolean;
+ device_manufacturer?: boolean;
device_model?: boolean;
dma?: boolean;
ip_address?: boolean;
@@ -46,24 +50,29 @@ interface Config {
platform?: boolean;
region?: boolean;
version_name?: boolean;
- },
+ };
+ unsetParamsReferrerOnNewSession?: boolean;
unsentKey?: string;
unsentIdentifyKey?: string;
uploadBatchSize?: number;
}
export class Identify {
- set(key: string, value: any): Identify;
- setOnce(key: string, value: any): Identify;
+ /** increment a user property by a given value (can also be negative to decrement). */
add(key: string, value: number | string): Identify;
- append(key: string, value: any): Identify;
- prepend(key: string, value: any): Identify;
-
+ /** Append a value or values to a user property */
+ append(key: string, value: number | string | any[] | object): Identify;
+ /** Prepend a value or values to a user property */
+ prepend(key: string, value: number | string | any[] | object): Identify;
+ /** Sets the value of a given user property */
+ set(key: string, value: number | string | any[] | object): Identify;
+ /** Sets the value of a given user property only once */
+ setOnce(key: string, value: number | string | any[] | object): Identify;
+ /** Unset and remove a user property */
unset(key: string): Identify;
}
export class Revenue {
-
setProductId(productId: string): Revenue;
setQuantity(quantity: number): Revenue;
setPrice(price: number): Revenue;
@@ -72,7 +81,6 @@ export class Revenue {
}
export class AmplitudeClient {
-
constructor(instanceName?: string);
options: Config;
@@ -107,44 +115,89 @@ export class AmplitudeClient {
logRevenue(pric: number, quantity: number, product: string): LogReturn;
logEventWithTimestamp(event: string, data?: any, timestamp?: number, callback?: Callback): LogReturn;
- Identify: typeof Identify
- Revenue: typeof Revenue
+ Identify: typeof Identify;
+ Revenue: typeof Revenue;
}
// Proxy methods that get executed on the default AmplitudeClient instance (not all client methods are proxied)
-export function init(apiKey: string, userId?: string, options?: Config, callback?: (client: AmplitudeClient) => void): void;
-
+/**
+ *
+ * @deprecated Please use amplitude.getInstance().init(apiKey, opt_userId, opt_config, opt_callback);
+ */
+export function init(
+ apiKey: string,
+ userId?: string,
+ options?: Config,
+ callback?: (client: AmplitudeClient) => void,
+): void;
+/**
+ * @deprecated Please use amplitude.getInstance().setVersionName(versionName)
+ */
export function setVersionName(version: string): void;
+/**
+ * @deprecated Please use amplitude.getInstance().isNewSession();
+ */
export function isNewSession(): boolean;
+/**
+ * Returns the id of the current session.
+ * @deprecated Please use amplitude.getInstance().getSessionId();
+ */
export function getSessionId(): number;
export function setDomain(domain: string): void;
export function setUserId(userId: string | null): void;
-
+/**
+ * @deprecated Please use amplitude.getInstance().setDeviceId(deviceId)
+ */
export function setDeviceId(id: string): void;
+/**
+ * @deprecated Please use amplitude.getInstance().regenerateDeviceId()
+ */
export function regenerateDeviceId(): void;
+/** Send an identify call containing user property operations to Amplitude servers */
export function identify(identify: Identify, callback?: Callback): void;
-
+/**
+ * @deprecated Please use amplitude.getInstance.setUserProperties(userProperties)
+ */
export function setUserProperties(properties: any): void;
+/**
+ * @deprecated Note this is deprecated, and we recommend using setUserProperties
+ */
export function setGlobalUserProperties(properties: any): void;
export function clearUserProperties(): void;
+/**
+ * @deprecated Please use amplitude.getInstance().setUserId(userId)
+ */
export function setOptOut(optOut: boolean): void;
-
+/**
+ * @deprecated Please use amplitude.getInstance().setGroup(groupType, groupName)
+ */
export function setGroup(groupType: string, groupName: string | string[]): void;
+/**
+ * @deprecated Please use amplitude.getInstance().logEvent(eventType, eventProperties, opt_callback);
+ */
export function logEvent(event: string, data?: any, callback?: Callback): LogReturn;
+
+/**
+ * Log an event with eventType, eventProperties, and groups
+ */
export function logEventWithGroups(event: string, data?: any, groups?: any, callback?: Callback): LogReturn;
+/**
+ * @deprecated Please use amplitude.getInstance().logRevenueV2(revenue_obj);
+ */
export function logRevenueV2(revenue_obj: Revenue): LogReturn;
+/**
+ * @deprecated Please use amplitude.getInstance().logRevenueV2(revenue_obj);
+ */
export function logRevenue(pric: number, quantity: number, product: string): LogReturn;
export function logEventWithTimestamp(event: string, data?: any, timestamp?: number, callback?: Callback): LogReturn;
-
-
export function getInstance(instanceName?: string): AmplitudeClient;
export const __VERSION__: string;
-export var options: Config;
+export const options: Config;
diff --git a/types/amplitude-js/tsconfig.json b/types/amplitude-js/tsconfig.json
index 0ca8f85efec03d6..97617b205bb8490 100644
--- a/types/amplitude-js/tsconfig.json
+++ b/types/amplitude-js/tsconfig.json
@@ -6,8 +6,8 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
"strictFunctionTypes": true,
+ "strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
@@ -20,4 +20,4 @@
"index.d.ts",
"amplitude-js-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/amplitude-js/tslint.json b/types/amplitude-js/tslint.json
index 3d59f55fdabcf45..d086f8e13f785e5 100644
--- a/types/amplitude-js/tslint.json
+++ b/types/amplitude-js/tslint.json
@@ -1,80 +1,17 @@
{
"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,
- "npm-naming": 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
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ]
}
-}
+}
\ No newline at end of file
diff --git a/types/amplitude-js/v4/amplitude-js-tests.ts b/types/amplitude-js/v4/amplitude-js-tests.ts
new file mode 100644
index 000000000000000..f5eb4b30b92196b
--- /dev/null
+++ b/types/amplitude-js/v4/amplitude-js-tests.ts
@@ -0,0 +1,117 @@
+// Tests for Amplitude SDK TypeScript definitions
+
+import amplitude = require('amplitude-js');
+
+module Amplitude.Tests {
+
+ function all() {
+ var client: amplitude.AmplitudeClient = new amplitude.AmplitudeClient();
+ var identify: amplitude.Identify = new amplitude.Identify();
+ var revenue: amplitude.Revenue = new amplitude.Revenue();
+
+ client = amplitude.getInstance();
+ client = amplitude.getInstance('some name');
+
+ amplitude.__VERSION__ === '1.2.3';
+ amplitude.options.logLevel = 'WARN';
+
+ amplitude.init('API_KEY', 'USER_ID', {
+ saveEvents: true,
+ includeUtm: true,
+ includeReferrer: true,
+ batchEvents: true,
+ eventUploadThreshold: 50
+ }, function () { });
+ amplitude.init('API_KEY', 'USER_ID', { includeReferrer: true, includeUtm: true });
+ amplitude.init('API_KEY', 'USER_ID');
+ amplitude.init('API_KEY');
+
+ amplitude.logEvent('Clicked Homepage Button', { 'finished_flow': false, 'clicks': 15 });
+ amplitude.logEvent('EVENT_IDENTIFIER_HERE', { 'color': 'blue', 'age': 20, 'key': 'value' });
+ amplitude.logEvent("EVENT_IDENTIFIER_HERE", null, (httpCode, response) => { });
+ amplitude.logEventWithGroups('initialize_game', { 'key': 'value' }, { 'sport': 'soccer' });
+
+ amplitude.setDeviceId('45f0954f-eb79-4463-ac8a-233a6f45a8f0');
+ amplitude.setDomain('.amplitude.com');
+ amplitude.setGroup('orgId', '15');
+ amplitude.setGroup('orgId', ['15', '16']);
+ amplitude.setUserId('joe@gmail.com');
+ amplitude.setUserId(null);
+ amplitude.setUserProperties({ 'gender': 'female', 'sign_up_complete': true })
+ amplitude.setVersionName('1.12.3');
+ amplitude.isNewSession();
+ amplitude.getSessionId() === 123;
+
+ amplitude.identify(identify);
+ amplitude.logRevenue(3.99, 1, 'product_1234');
+ amplitude.logRevenueV2(revenue);
+
+
+ client.init('API_KEY', 'USER_ID', {
+ saveEvents: true,
+ includeUtm: true,
+ includeReferrer: true,
+ batchEvents: true,
+ eventUploadThreshold: 50
+ }, function () { });
+ client.init('API_KEY', 'USER_ID', { includeReferrer: true, includeUtm: true });
+ client.init('API_KEY', 'USER_ID');
+ client.init('API_KEY');
+
+ client.logEvent('Clicked Homepage Button', { 'finished_flow': false, 'clicks': 15 });
+ client.logEvent('EVENT_IDENTIFIER_HERE', { 'color': 'blue', 'age': 20, 'key': 'value' });
+ client.logEvent("EVENT_IDENTIFIER_HERE", null, (httpCode, response) => { });
+ client.logEventWithGroups('initialize_game', { 'key': 'value' }, { 'sport': 'soccer' });
+ client.logEventWithTimestamp('EVENT_IDENTIFIER_HERE', { 'key': 'value' }, 1505430378000, (httpCode, response) => { });
+
+
+ client.setDeviceId('45f0954f-eb79-4463-ac8a-233a6f45a8f0');
+ client.setDomain('.amplitude.com');
+ client.setUserId('joe@gmail.com');
+ client.setUserId(null);
+ client.setOptOut(true);
+ client.setGroup('type', 'name');
+ client.setGroup('type', ['name', 'name2']);
+ client.setUserProperties({ 'gender': 'female', 'sign_up_complete': true });
+ client.setGlobalUserProperties({ 'gender': 'female', 'sign_up_complete': true });
+ client.setVersionName('1.12.3');
+ client.setSessionId(1505430378000);
+
+ client.options.logLevel = 'WARN';
+ client.getSessionId() === 123;
+ client.isNewSession() === true;
+ client.regenerateDeviceId();
+ client.clearUserProperties();
+
+ client.identify(identify);
+ client.logRevenue(3.99, 1, 'product_1234');
+ client.logRevenueV2(revenue);
+
+
+ identify = new amplitude.Identify().set('colors', ['rose', 'gold']).add('karma', 1).setOnce('sign_up_date', '2016-03-31');
+ identify = new amplitude.Identify().add('karma', 1).add('friends', 1);
+ identify = new amplitude.Identify().set('karma', 10).add('karma', 1).unset('karma');
+ identify = new amplitude.Identify().append('ab-tests', 'new-user-tests');
+ identify.append('some_list', [1, 2, 3, 4, 'values']);
+ identify = new amplitude.Identify().prepend('ab-tests', 'new-user-tests');
+ identify.prepend('some_list', [1, 2, 3, 4, 'values']);
+ identify = new amplitude.Identify().set('user_type', 'beta');
+ identify.set('name', { 'first': 'John', 'last': 'Doe' });
+ identify = new amplitude.Identify().setOnce('sign_up_date', '2016-04-01');
+ identify = new amplitude.Identify().unset('user_type').unset('age');
+ identify = new amplitude.Identify()
+ .set('colors', ['rose', 'gold'])
+ .append('ab-tests', 'campaign_a')
+ .append('existing_list', [4, 5]);
+
+
+ revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99);
+ revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99).setEventProperties({ 'city': 'San Francisco' });
+ revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99).setQuantity(5);
+ revenue = new amplitude.Revenue().setProductId('productIdentifier').setPrice(10.99).setRevenueType('purchase');
+
+ identify = new client.Identify()
+ revenue = new client.Revenue()
+ }
+
+}
diff --git a/types/amplitude-js/v4/index.d.ts b/types/amplitude-js/v4/index.d.ts
new file mode 100644
index 000000000000000..7558c732d12e821
--- /dev/null
+++ b/types/amplitude-js/v4/index.d.ts
@@ -0,0 +1,150 @@
+// Type definitions for Amplitude SDK 4.4.0
+// Project: https://github.com/amplitude/Amplitude-Javascript
+// Definitions by: Arvydas Sidorenko
+// Dan Manastireanu
+// Kimmo Hintikka
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+export as namespace amplitude;
+
+type Callback = (responseCode: number, responseBody: string, details?: { reason: string; }) => void;
+type LogReturn = number | void;
+
+interface Config {
+ apiEndpoint?: string;
+ batchEvents?: boolean;
+ cookieExpiration?: number;
+ cookieName?: string;
+ userId?: string;
+ deviceId?: string;
+ deviceIdFromUrlParam?: boolean;
+ domain?: string;
+ eventUploadPeriodMillis?: number;
+ eventUploadThreshold?: number;
+ forceHttps?: boolean;
+ includeGclid?: boolean;
+ includeReferrer?: boolean;
+ includeUtm?: boolean;
+ language?: string;
+ logLevel?: 'DISABLE' | 'ERROR' | 'WARN' | 'INFO';
+ optOut?: boolean;
+ platform?: string;
+ saveEvents?: boolean;
+ savedMaxCount?: number;
+ saveParamsReferrerOncePerSession?: boolean;
+ sessionTimeout?: number;
+ useNativeDeviceInfo?: boolean;
+ trackingOptions?: {
+ city?: boolean;
+ country?: boolean;
+ device_model?: boolean;
+ dma?: boolean;
+ ip_address?: boolean;
+ language?: boolean;
+ os_name?: boolean;
+ os_version?: boolean;
+ platform?: boolean;
+ region?: boolean;
+ version_name?: boolean;
+ },
+ unsentKey?: string;
+ unsentIdentifyKey?: string;
+ uploadBatchSize?: number;
+}
+
+export class Identify {
+ set(key: string, value: any): Identify;
+ setOnce(key: string, value: any): Identify;
+ add(key: string, value: number | string): Identify;
+ append(key: string, value: any): Identify;
+ prepend(key: string, value: any): Identify;
+
+ unset(key: string): Identify;
+}
+
+export class Revenue {
+
+ setProductId(productId: string): Revenue;
+ setQuantity(quantity: number): Revenue;
+ setPrice(price: number): Revenue;
+ setRevenueType(revenueType: string): Revenue;
+ setEventProperties(eventProperties: any): Revenue;
+}
+
+export class AmplitudeClient {
+
+ constructor(instanceName?: string);
+
+ options: Config;
+
+ init(apiKey: string, userId?: string, config?: Config, callback?: (client: AmplitudeClient) => void): void;
+
+ setVersionName(versionName: string): void;
+
+ isNewSession(): boolean;
+ setSessionId(sessionId: number): void;
+ getSessionId(): number;
+
+ setDomain(domain: string): void;
+ setUserId(userId: string | null): void;
+
+ setDeviceId(id: string): void;
+ regenerateDeviceId(): void;
+
+ identify(identify_obj: Identify, opt_callback?: Callback): void;
+
+ setUserProperties(properties: any): void;
+ setGlobalUserProperties(properties: any): void;
+ clearUserProperties(): void;
+
+ setOptOut(enable: boolean): void;
+
+ setGroup(groupType: string, groupName: string | string[]): void;
+
+ logEvent(event: string, data?: any, callback?: Callback): LogReturn;
+ logEventWithGroups(event: string, data?: any, groups?: any, callback?: Callback): LogReturn;
+ logRevenueV2(revenue_obj: Revenue): LogReturn;
+ logRevenue(pric: number, quantity: number, product: string): LogReturn;
+ logEventWithTimestamp(event: string, data?: any, timestamp?: number, callback?: Callback): LogReturn;
+
+ Identify: typeof Identify
+ Revenue: typeof Revenue
+}
+
+// Proxy methods that get executed on the default AmplitudeClient instance (not all client methods are proxied)
+
+export function init(apiKey: string, userId?: string, options?: Config, callback?: (client: AmplitudeClient) => void): void;
+
+export function setVersionName(version: string): void;
+
+export function isNewSession(): boolean;
+export function getSessionId(): number;
+
+export function setDomain(domain: string): void;
+
+export function setUserId(userId: string | null): void;
+
+export function setDeviceId(id: string): void;
+export function regenerateDeviceId(): void;
+
+export function identify(identify: Identify, callback?: Callback): void;
+
+export function setUserProperties(properties: any): void;
+export function setGlobalUserProperties(properties: any): void;
+export function clearUserProperties(): void;
+
+export function setOptOut(optOut: boolean): void;
+
+export function setGroup(groupType: string, groupName: string | string[]): void;
+
+export function logEvent(event: string, data?: any, callback?: Callback): LogReturn;
+export function logEventWithGroups(event: string, data?: any, groups?: any, callback?: Callback): LogReturn;
+export function logRevenueV2(revenue_obj: Revenue): LogReturn;
+export function logRevenue(pric: number, quantity: number, product: string): LogReturn;
+export function logEventWithTimestamp(event: string, data?: any, timestamp?: number, callback?: Callback): LogReturn;
+
+
+
+export function getInstance(instanceName?: string): AmplitudeClient;
+export const __VERSION__: string;
+export var options: Config;
diff --git a/types/amplitude-js/v4/tsconfig.json b/types/amplitude-js/v4/tsconfig.json
new file mode 100644
index 000000000000000..8ecf3f742938a8a
--- /dev/null
+++ b/types/amplitude-js/v4/tsconfig.json
@@ -0,0 +1,26 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": [
+ "es6"
+ ],
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "baseUrl": "../../",
+ "typeRoots": [
+ "../../"
+ ],
+ "paths": {
+ "amplitude-js": [ "amplitude-js/v4" ]
+ },
+ "types": [],
+ "noEmit": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "index.d.ts",
+ "amplitude-js-tests.ts"
+ ]
+}
diff --git a/types/amplitude-js/v4/tslint.json b/types/amplitude-js/v4/tslint.json
new file mode 100644
index 000000000000000..776ca2bf0382a22
--- /dev/null
+++ b/types/amplitude-js/v4/tslint.json
@@ -0,0 +1,21 @@
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "callable-types": false,
+ "dt-header": false,
+ "no-boolean-literal-compare": false,
+ "no-consecutive-blank-lines": false,
+ "no-internal-module": false,
+ "no-namespace": false,
+ "no-padding": false,
+ "no-redundant-jsdoc": false,
+ "no-var-keyword": false,
+ "object-literal-key-quotes": false,
+ "only-arrow-functions": false,
+ "prefer-method-signature": false,
+ "semicolon": false,
+ "space-before-function-paren": false,
+ "strict-export-declare-modifiers": false,
+ "void-return": false
+ }
+}
\ No newline at end of file
diff --git a/types/amqp-connection-manager/index.d.ts b/types/amqp-connection-manager/index.d.ts
index 15a30d25bf9f0f5..62db6494448edf8 100644
--- a/types/amqp-connection-manager/index.d.ts
+++ b/types/amqp-connection-manager/index.d.ts
@@ -36,7 +36,19 @@ export interface AmqpConnectionManagerOptions {
* These are passed through directly to amqplib (http://www.squaremobius.net/amqp.node/channel_api.html#connect),
* which in turn passes them through to tls.connect (https://nodejs.org/api/tls.html#tls_tls_connect_options_callback)
*/
- connectionOptions?: ConnectionOptions;
+ connectionOptions?: ConnectionOptions & {
+ noDelay?: boolean;
+ timeout?: number;
+ keepAlive?: boolean;
+ keepAliveDelay?: number;
+ clientProperties?: any;
+ credentials?: {
+ mechanism: string;
+ username: string;
+ password: string;
+ response: () => Buffer;
+ };
+ };
}
/**
@@ -194,4 +206,9 @@ export interface ChannelWrapper extends EventEmitter {
* Close a channel, clean up resources associated with it.
*/
close(): Promise;
+
+ /**
+ * Returns a Promise which resolves when this channel next connects.
+ */
+ waitForConnect(): Promise;
}
diff --git a/types/amqp-connection-manager/tslint.json b/types/amqp-connection-manager/tslint.json
index d57642e30f9e79a..c7d87e32cc18186 100644
--- a/types/amqp-connection-manager/tslint.json
+++ b/types/amqp-connection-manager/tslint.json
@@ -1,8 +1,6 @@
{
- "extends": "dtslint/dt.json",
- "rules": {
- "strict-export-declare-modifiers": false,
- "unified-signatures": false,
- "void-return": false
- }
-}
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "unified-signatures": false
+ }
+}
\ No newline at end of file
diff --git a/types/amqp-rpc/tslint.json b/types/amqp-rpc/tslint.json
index 3d59f55fdabcf45..c69a818135854b6 100644
--- a/types/amqp-rpc/tslint.json
+++ b/types/amqp-rpc/tslint.json
@@ -1,80 +1,24 @@
{
"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,
- "npm-naming": 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
+ "triple-equals": false
}
-}
+}
\ No newline at end of file
diff --git a/types/amqp/tslint.json b/types/amqp/tslint.json
index 9b00d57fefc46db..c7d87e32cc18186 100644
--- a/types/amqp/tslint.json
+++ b/types/amqp/tslint.json
@@ -1,8 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "unified-signatures": [
- "false"
- ]
+ "unified-signatures": false
}
}
\ No newline at end of file
diff --git a/types/amqplib/tslint.json b/types/amqplib/tslint.json
index f64a7837256667f..beb793f95be53ca 100644
--- a/types/amqplib/tslint.json
+++ b/types/amqplib/tslint.json
@@ -1,9 +1,8 @@
{
"extends": "dtslint/dt.json",
"rules": {
- // All are TODOs
"no-any-union": false,
"no-empty-interface": false,
"prefer-const": false
}
-}
+}
\ No newline at end of file
diff --git a/types/analytics-node/tsconfig.json b/types/analytics-node/tsconfig.json
index 3684577e654f688..2611ee3ef7b7a4a 100644
--- a/types/analytics-node/tsconfig.json
+++ b/types/analytics-node/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"analytics-node-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/anchor-js/anchor-js-tests.ts b/types/anchor-js/anchor-js-tests.ts
index a27e09605ab8ec8..c41b375cfd5249a 100644
--- a/types/anchor-js/anchor-js-tests.ts
+++ b/types/anchor-js/anchor-js-tests.ts
@@ -14,3 +14,12 @@ const footerAnchors = new AnchorJS({
placement: 'right',
});
footerAnchors.remove('.links');
+
+anchors.options = {
+ placement: 'left',
+ visible: 'always',
+ icon: '¶'
+};
+
+anchors.options.base = '/2019/1/03/my-post';
+anchors.options.titleText = 'Click to directly link to this section.';
diff --git a/types/anchor-js/index.d.ts b/types/anchor-js/index.d.ts
index 1f59c295e284773..04d8a037fb7b651 100644
--- a/types/anchor-js/index.d.ts
+++ b/types/anchor-js/index.d.ts
@@ -1,4 +1,4 @@
-// Type definitions for anchor-js 4.1
+// Type definitions for anchor-js 4.2
// Project: https://github.com/bryanbraun/anchorjs
// Definitions by: Brian Surowiec
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -16,10 +16,12 @@ declare namespace anchorjs {
type AnchorVisibility = 'always' | 'hover' | 'touch';
interface AnchorOptions {
- arialabel?: string;
+ ariaLabel?: string;
+ base?: string;
class?: string;
- icons?: string;
+ icon?: string;
placement?: AnchorPlacement;
+ titleText?: string;
truncate?: number;
visible?: AnchorVisibility;
}
diff --git a/types/angular-agility/tsconfig.json b/types/angular-agility/tsconfig.json
index 460060cde07fc25..4bcf027b48dc343 100644
--- a/types/angular-agility/tsconfig.json
+++ b/types/angular-agility/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-agility-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-agility/tslint.json b/types/angular-agility/tslint.json
index 0a7abf97f86d346..46c7656f35ff82b 100644
--- a/types/angular-agility/tslint.json
+++ b/types/angular-agility/tslint.json
@@ -1,81 +1,34 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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,
- "no-angle-bracket-type-assertion": false
+ "whitespace": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-animate/tsconfig.json b/types/angular-animate/tsconfig.json
index d34d6a1d77ea8d2..72ab99ccfc428d7 100644
--- a/types/angular-animate/tsconfig.json
+++ b/types/angular-animate/tsconfig.json
@@ -10,7 +10,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
-}
\ No newline at end of file
+}
diff --git a/types/angular-animate/tslint.json b/types/angular-animate/tslint.json
index 3d59f55fdabcf45..f8275b6f26b9c75 100644
--- a/types/angular-animate/tslint.json
+++ b/types/angular-animate/tslint.json
@@ -1,80 +1,13 @@
{
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-aria/angular-aria-tests.ts b/types/angular-aria/angular-aria-tests.ts
new file mode 100644
index 000000000000000..3c2f26c6512d970
--- /dev/null
+++ b/types/angular-aria/angular-aria-tests.ts
@@ -0,0 +1,21 @@
+function testProvider($ariaProvider: angular.aria.IAriaProvider): void {
+ // $ExpectType void
+ $ariaProvider.config({ariaHidden: true});
+
+ // $ExpectType void
+ $ariaProvider.config({ariaChecked: true, ariaReadonly: false});
+
+ // $ExpectError
+ $ariaProvider.config({ariaDisabled: 44});
+
+ // $ExpectError
+ $ariaProvider.config({unknownkey: false});
+}
+
+function testService($aria: angular.aria.IAriaService): void {
+ // $ExpectType boolean
+ $aria.config('tabindex');
+
+ // $ExpectError
+ $aria.config('unknown-string');
+}
diff --git a/types/angular-aria/index.d.ts b/types/angular-aria/index.d.ts
new file mode 100644
index 000000000000000..1c4ffad621fc3d3
--- /dev/null
+++ b/types/angular-aria/index.d.ts
@@ -0,0 +1,31 @@
+// Type definitions for angular-aria 1.7
+// Project: http://angularjs.org, https://docs.angularjs.org/api/ngAria
+// Definitions by: Chives
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+// TypeScript Version: 2.3
+
+import * as angular from 'angular';
+
+declare module 'angular' {
+ namespace aria {
+ type IAriaAttribute = 'ariaHidden'|'ariaChecked'|'ariaReadonly'|'ariaDisabled'|'ariaRequired'|'ariaInvalid'|'ariaValue'|'tabindex'|'bindKeydown'|'bindRoleForClick';
+
+ type IAriaProviderOptions = {
+ [key in IAriaAttribute]?: boolean;
+ };
+
+ /**
+ * $ariaProvider (https://docs.angularjs.org/api/ngAria/provider/$ariaProvider).
+ */
+ interface IAriaProvider {
+ config(config: IAriaProviderOptions): void;
+ }
+
+ /**
+ * $aria service (https://docs.angularjs.org/api/ngAria/service/$aria).
+ */
+ interface IAriaService {
+ config(attribute: IAriaAttribute): boolean;
+ }
+ }
+}
diff --git a/types/angular-aria/tsconfig.json b/types/angular-aria/tsconfig.json
new file mode 100644
index 000000000000000..10dce0ebc92e7ee
--- /dev/null
+++ b/types/angular-aria/tsconfig.json
@@ -0,0 +1,24 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": [
+ "dom",
+ "es6"
+ ],
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictFunctionTypes": true,
+ "strictNullChecks": true,
+ "baseUrl": "../",
+ "typeRoots": [
+ "../"
+ ],
+ "types": [],
+ "noEmit": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "index.d.ts",
+ "angular-aria-tests.ts"
+ ]
+}
diff --git a/types/angular-aria/tslint.json b/types/angular-aria/tslint.json
new file mode 100644
index 000000000000000..8f5b9e1a84baca5
--- /dev/null
+++ b/types/angular-aria/tslint.json
@@ -0,0 +1,6 @@
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "interface-name": false
+ }
+}
\ No newline at end of file
diff --git a/types/angular-bootstrap-calendar/tsconfig.json b/types/angular-bootstrap-calendar/tsconfig.json
index 72a05b7ce7a3be2..3c862f5de190e5d 100644
--- a/types/angular-bootstrap-calendar/tsconfig.json
+++ b/types/angular-bootstrap-calendar/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-bootstrap-calendar-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-bootstrap-calendar/tslint.json b/types/angular-bootstrap-calendar/tslint.json
index 3d59f55fdabcf45..5521a935290b84a 100644
--- a/types/angular-bootstrap-calendar/tslint.json
+++ b/types/angular-bootstrap-calendar/tslint.json
@@ -1,80 +1,21 @@
{
"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,
- "npm-naming": 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-outside-dependencies": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-bootstrap-lightbox/tsconfig.json b/types/angular-bootstrap-lightbox/tsconfig.json
index 3792bc3da54e3b7..59189b73db90884 100644
--- a/types/angular-bootstrap-lightbox/tsconfig.json
+++ b/types/angular-bootstrap-lightbox/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"angular-bootstrap-lightbox-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-bootstrap-lightbox/tslint.json b/types/angular-bootstrap-lightbox/tslint.json
index 6c7fd03ccda21f4..e5cde7c1a1379d6 100644
--- a/types/angular-bootstrap-lightbox/tslint.json
+++ b/types/angular-bootstrap-lightbox/tslint.json
@@ -1,81 +1,29 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-breadcrumb/tsconfig.json b/types/angular-breadcrumb/tsconfig.json
index 82e62843769c48e..71e6b79545f5b8d 100644
--- a/types/angular-breadcrumb/tsconfig.json
+++ b/types/angular-breadcrumb/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"files": [
"index.d.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-breadcrumb/tslint.json b/types/angular-breadcrumb/tslint.json
index 3d59f55fdabcf45..dcc766d9220303a 100644
--- a/types/angular-breadcrumb/tslint.json
+++ b/types/angular-breadcrumb/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-clipboard/tslint.json b/types/angular-clipboard/tslint.json
index 3d59f55fdabcf45..6637d44b0129cbe 100644
--- a/types/angular-clipboard/tslint.json
+++ b/types/angular-clipboard/tslint.json
@@ -1,80 +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,
- "npm-naming": 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
+ "prefer-method-signature": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-cookie/tsconfig.json b/types/angular-cookie/tsconfig.json
index ae3ec8dd2116fb2..3b4b6c0c55eb9e6 100644
--- a/types/angular-cookie/tsconfig.json
+++ b/types/angular-cookie/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-cookie-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-cookie/tslint.json b/types/angular-cookie/tslint.json
index 3d59f55fdabcf45..71bb19420aa0b2f 100644
--- a/types/angular-cookie/tslint.json
+++ b/types/angular-cookie/tslint.json
@@ -1,80 +1,18 @@
{
"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,
- "npm-naming": 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,
+ "no-var-keyword": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-cookies/tsconfig.json b/types/angular-cookies/tsconfig.json
index d34d6a1d77ea8d2..72ab99ccfc428d7 100644
--- a/types/angular-cookies/tsconfig.json
+++ b/types/angular-cookies/tsconfig.json
@@ -10,7 +10,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
-}
\ No newline at end of file
+}
diff --git a/types/angular-cookies/tslint.json b/types/angular-cookies/tslint.json
index 3d59f55fdabcf45..3c08b0944b03cd5 100644
--- a/types/angular-cookies/tslint.json
+++ b/types/angular-cookies/tslint.json
@@ -1,80 +1,12 @@
{
"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,
- "npm-naming": 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
+ "prefer-method-signature": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-deferred-bootstrap/tsconfig.json b/types/angular-deferred-bootstrap/tsconfig.json
index 119199cc5aa40cb..6ca746074389d65 100644
--- a/types/angular-deferred-bootstrap/tsconfig.json
+++ b/types/angular-deferred-bootstrap/tsconfig.json
@@ -11,7 +11,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
-}
\ No newline at end of file
+}
diff --git a/types/angular-deferred-bootstrap/tslint.json b/types/angular-deferred-bootstrap/tslint.json
index 3d59f55fdabcf45..47fa80a89eab0c3 100644
--- a/types/angular-deferred-bootstrap/tslint.json
+++ b/types/angular-deferred-bootstrap/tslint.json
@@ -1,80 +1,13 @@
{
"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,
- "npm-naming": 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
+ "semicolon": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-dialog-service/tslint.json b/types/angular-dialog-service/tslint.json
index 3d59f55fdabcf45..1fbbfe26d96e93f 100644
--- a/types/angular-dialog-service/tslint.json
+++ b/types/angular-dialog-service/tslint.json
@@ -1,80 +1,19 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-environment/tslint.json b/types/angular-environment/tslint.json
index 3d59f55fdabcf45..2d1be1c0e494aef 100644
--- a/types/angular-environment/tslint.json
+++ b/types/angular-environment/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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-trailing-whitespace": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-es/tsconfig.json b/types/angular-es/tsconfig.json
index 8eb4ea89258c1e9..2dd3aad386ae896 100644
--- a/types/angular-es/tsconfig.json
+++ b/types/angular-es/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"experimentalDecorators": true,
"baseUrl": "../",
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-es-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-es/tslint.json b/types/angular-es/tslint.json
index 3d59f55fdabcf45..f582e579604ddae 100644
--- a/types/angular-es/tslint.json
+++ b/types/angular-es/tslint.json
@@ -1,80 +1,17 @@
{
"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,
- "npm-naming": 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
+ "semicolon": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-feature-flags/tsconfig.json b/types/angular-feature-flags/tsconfig.json
index 07b352a43ce0a0f..bd97d8031911482 100644
--- a/types/angular-feature-flags/tsconfig.json
+++ b/types/angular-feature-flags/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-feature-flags-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-feature-flags/tslint.json b/types/angular-feature-flags/tslint.json
index 3d59f55fdabcf45..bd03cb2aadb9864 100644
--- a/types/angular-feature-flags/tslint.json
+++ b/types/angular-feature-flags/tslint.json
@@ -1,80 +1,14 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-file-saver/tsconfig.json b/types/angular-file-saver/tsconfig.json
index 60a3fb0eca61a12..dba0613d7368dc2 100644
--- a/types/angular-file-saver/tsconfig.json
+++ b/types/angular-file-saver/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-file-saver-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-file-saver/tslint.json b/types/angular-file-saver/tslint.json
index 3d59f55fdabcf45..9a8df4604f0d427 100644
--- a/types/angular-file-saver/tslint.json
+++ b/types/angular-file-saver/tslint.json
@@ -1,80 +1,13 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-formly/tslint.json b/types/angular-formly/tslint.json
index 3d59f55fdabcf45..c88bbaf8c90e828 100644
--- a/types/angular-formly/tslint.json
+++ b/types/angular-formly/tslint.json
@@ -1,80 +1,23 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-fullscreen/tslint.json b/types/angular-fullscreen/tslint.json
index 3d59f55fdabcf45..f0d4c3037315518 100644
--- a/types/angular-fullscreen/tslint.json
+++ b/types/angular-fullscreen/tslint.json
@@ -1,80 +1,27 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-gettext/tsconfig.json b/types/angular-gettext/tsconfig.json
index 43c7dc3cabfd3b6..ea868611f2f7cec 100644
--- a/types/angular-gettext/tsconfig.json
+++ b/types/angular-gettext/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-gettext-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-gettext/tslint.json b/types/angular-gettext/tslint.json
index 3d59f55fdabcf45..72760cbc13bdf98 100644
--- a/types/angular-gettext/tslint.json
+++ b/types/angular-gettext/tslint.json
@@ -1,80 +1,24 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-google-analytics/tsconfig.json b/types/angular-google-analytics/tsconfig.json
index b66432d04cbc04e..5788e7b632ecece 100644
--- a/types/angular-google-analytics/tsconfig.json
+++ b/types/angular-google-analytics/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-google-analytics-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-google-analytics/tslint.json b/types/angular-google-analytics/tslint.json
index 3d59f55fdabcf45..50ff268acb4468c 100644
--- a/types/angular-google-analytics/tslint.json
+++ b/types/angular-google-analytics/tslint.json
@@ -1,80 +1,29 @@
{
"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,
- "npm-naming": 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,
+ "no-var-keyword": false,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-growl-v2/tsconfig.json b/types/angular-growl-v2/tsconfig.json
index 16ccffe41fa8ae7..3e104a8678fd8bb 100644
--- a/types/angular-growl-v2/tsconfig.json
+++ b/types/angular-growl-v2/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-growl-v2-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-growl-v2/tslint.json b/types/angular-growl-v2/tslint.json
index 3d59f55fdabcf45..524877807e5eadc 100644
--- a/types/angular-growl-v2/tslint.json
+++ b/types/angular-growl-v2/tslint.json
@@ -1,80 +1,23 @@
{
"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,
- "npm-naming": 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-trailing-whitespace": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-hotkeys/tslint.json b/types/angular-hotkeys/tslint.json
index 3db14f85eaf7b98..d086f8e13f785e5 100644
--- a/types/angular-hotkeys/tslint.json
+++ b/types/angular-hotkeys/tslint.json
@@ -1 +1,17 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/types/angular-http-auth/tsconfig.json b/types/angular-http-auth/tsconfig.json
index 61029fcc0055be5..ad6b7ecb45dc878 100644
--- a/types/angular-http-auth/tsconfig.json
+++ b/types/angular-http-auth/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-http-auth-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-http-auth/tslint.json b/types/angular-http-auth/tslint.json
index 3d59f55fdabcf45..e635cbe6c18337d 100644
--- a/types/angular-http-auth/tslint.json
+++ b/types/angular-http-auth/tslint.json
@@ -1,80 +1,21 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-httpi/tsconfig.json b/types/angular-httpi/tsconfig.json
index 64c28306cf2b48d..a4f7bf089099ad4 100644
--- a/types/angular-httpi/tsconfig.json
+++ b/types/angular-httpi/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-httpi-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-httpi/tslint.json b/types/angular-httpi/tslint.json
index 3d59f55fdabcf45..620c4b56ec4fbdb 100644
--- a/types/angular-httpi/tslint.json
+++ b/types/angular-httpi/tslint.json
@@ -1,80 +1,19 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-idle/tsconfig.json b/types/angular-idle/tsconfig.json
index 57cc641db8847c2..464725b124ef33f 100644
--- a/types/angular-idle/tsconfig.json
+++ b/types/angular-idle/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-idle-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-idle/tslint.json b/types/angular-idle/tslint.json
index 3d59f55fdabcf45..ecdc7dca2a18892 100644
--- a/types/angular-idle/tslint.json
+++ b/types/angular-idle/tslint.json
@@ -1,80 +1,18 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-jwt/tslint.json b/types/angular-jwt/tslint.json
index 3d59f55fdabcf45..15b802049ae3ffb 100644
--- a/types/angular-jwt/tslint.json
+++ b/types/angular-jwt/tslint.json
@@ -1,80 +1,30 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-load/tsconfig.json b/types/angular-load/tsconfig.json
index ee5ee74b727e4e7..6ae71b9c16e454c 100644
--- a/types/angular-load/tsconfig.json
+++ b/types/angular-load/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-load-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-load/tslint.json b/types/angular-load/tslint.json
index 3d59f55fdabcf45..4237ac6aa898766 100644
--- a/types/angular-load/tslint.json
+++ b/types/angular-load/tslint.json
@@ -1,80 +1,16 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-loading-bar/tslint.json b/types/angular-loading-bar/tslint.json
index 3d59f55fdabcf45..0778208bcd78ee7 100644
--- a/types/angular-loading-bar/tslint.json
+++ b/types/angular-loading-bar/tslint.json
@@ -1,80 +1,18 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-local-storage/angular-local-storage-tests.ts b/types/angular-local-storage/angular-local-storage-tests.ts
index b3fdde8b9e712a5..f83b2495d74e6e9 100644
--- a/types/angular-local-storage/angular-local-storage-tests.ts
+++ b/types/angular-local-storage/angular-local-storage-tests.ts
@@ -1,71 +1,76 @@
-interface TestScope extends ng.IScope {
- submit: (key: string, value: string) => boolean;
- getItem: (key: string) => string;
- removeItem: (key: string) => boolean;
- clearNumbers: () => boolean;
- clearAll: () => boolean;
- unbind: Function;
- update: (val: string) => void;
- property: string;
+interface TestScope {
+ submit(key: string, value: string): boolean;
+ getItem(key: string): string;
+ removeItem(key: string): boolean;
+ clearNumbers(): boolean;
+ clearAll(): boolean;
+ unbind?: () => void;
+ update(val: string): void;
}
-class TestController {
- constructor($scope: TestScope, localStorageService: ng.local.storage.ILocalStorageService) {
- // isSupported
- if (localStorageService.isSupported) {
- // do something
- }
-
- // getStorageType
- var storageType: string = localStorageService.getStorageType();
+class TestController implements TestScope {
+ unbind?: () => void;
- // set
- $scope.submit = (key, value) => {
- return localStorageService.set(key, value);
- };
+ constructor(
+ private readonly localStorageService: ng.local.storage.ILocalStorageService,
+ private readonly $scope: angular.IScope,
+ ) {}
- // get
- $scope.getItem = (key) => {
- return localStorageService.get(key);
- };
+ $onInit() {
+ // isSupported
+ if (this.localStorageService.isSupported) {
+ // do something
+ }
- // remove
- $scope.removeItem = (key) => {
- return localStorageService.remove(key);
- };
+ // getStorageType
+ const storageType = this.localStorageService.getStorageType();
- // clearAll(regexp)
- $scope.clearNumbers = () => {
- return localStorageService.clearAll(/^\d+$/);
- };
+ const lsKeys = this.localStorageService.keys();
- // clearAll
- $scope.clearAll = () => {
- return localStorageService.clearAll();
- };
+ // bind
+ this.localStorageService.set('property', 'oldValue');
+ this.unbind = this.localStorageService.bind(this.$scope, 'property');
- // keys
- var lsKeys = localStorageService.keys();
+ // deriveKey
+ console.log(this.localStorageService.deriveKey('property')); // ls.property
- // bind
- localStorageService.set('property', 'oldValue');
- $scope.unbind = localStorageService.bind($scope, 'property');
+ // length
+ const lsLength: number = this.localStorageService.length();
+ }
- // deriveKey
- console.log(localStorageService.deriveKey('property')); // ls.property
+ $onDestroy() {
+ this.unbind && this.unbind();
+ }
- // length
- var lsLength: number = localStorageService.length();
- }
+ submit(key: string, value: any) {
+ return this.localStorageService.set(key, value);
+ }
+ getItem(key: string) {
+ return this.localStorageService.get(key);
+ }
+ removeItem(key: string) {
+ return this.localStorageService.remove(key);
+ }
+ clearNumbers() {
+ return this.localStorageService.clearAll(/^\d+$/);
+ }
+ clearAll() {
+ return this.localStorageService.clearAll();
+ }
+ update(val: string) {
+ this.localStorageService.set('property', val);
+ }
}
-var app = angular.module('angular-local-storage-tests', ['LocalStorageModule']);
-app.config(function (localStorageServiceProvider: ng.local.storage.ILocalStorageServiceProvider) {
- localStorageServiceProvider
- .setPrefix('myApp')
- .setStorageType('sessionStorage')
- .setDefaultToCookie(false)
- .setNotify(true, true);
+TestController.$inject = ['localStorageService', '$scope'];
+
+const app = angular.module('angular-local-storage-tests', ['LocalStorageModule']);
+app.config((localStorageServiceProvider: ng.local.storage.ILocalStorageServiceProvider) => {
+ localStorageServiceProvider
+ .setPrefix('myApp')
+ .setStorageType('sessionStorage')
+ .setDefaultToCookie(false)
+ .setNotify(true, true);
});
app.controller('TestController', TestController);
diff --git a/types/angular-local-storage/index.d.ts b/types/angular-local-storage/index.d.ts
index 6ab69f299318394..607aad4a44423f2 100644
--- a/types/angular-local-storage/index.d.ts
+++ b/types/angular-local-storage/index.d.ts
@@ -1,10 +1,9 @@
-// Type definitions for angular-local-storage v0.6.0
-// Project: https://github.com/grevory/angular-local-storage
-// Definitions by: Ken Fukuyama , Davide Donadello
+// Type definitions for angular-local-storage 0.7
+// Project: https://github.com/grevory/angular-local-storage#readme
+// Definitions by: Ken Fukuyama
+// Davide Donadello
+// Piotr Błażejewicz
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-// TypeScript Version: 2.3
-
-///
import * as angular from 'angular';
@@ -13,8 +12,9 @@ export type ILocalStorageService = angular.local.storage.ILocalStorageService;
export type ICookie = angular.local.storage.ICookie;
declare module 'angular' {
- export namespace local.storage {
- interface ILocalStorageServiceProvider extends angular.IServiceProvider {
+ namespace local.storage {
+ // tslint:disable-next-line interface-name
+ interface ILocalStorageServiceProvider extends IServiceProvider {
/**
* Setter for the prefix
* You should set a prefix to avoid overwriting any local storage variables from the rest of your app
@@ -28,12 +28,12 @@ declare module 'angular' {
setPrefix(prefix: string): ILocalStorageServiceProvider;
/**
* Setter for the storageType
- * @param storageType localstorage or sessionStorage. default: localStorage
+ * localstorage or sessionStorage. default: localStorage
*/
setStorageType(storageType: string): ILocalStorageServiceProvider;
/**
* If localStorage is not supported, the library will default to cookies instead. This behavior can be disabled
- * @param shouldDefault default: true
+ * default: true
*/
setDefaultToCookie(shouldDefault: boolean): ILocalStorageServiceProvider;
/**
@@ -44,7 +44,10 @@ declare module 'angular' {
*/
setStorageCookie(exp: number, path: string, secure: boolean): ILocalStorageServiceProvider;
/**
- * Set the cookie domain, since this runs inside a the config() block, only providers and constants can be injected. As a result, $location service can't be used here, use a hardcoded string or window.location.
+ * Set the cookie domain, since this runs inside a the config() block,
+ * only providers and constants can be injected.
+ * As a result, $location service can't be used here,
+ * use a hardcoded string or window.location.
* No default value
*/
setStorageCookieDomain(domain: string): ILocalStorageServiceProvider;
@@ -56,39 +59,24 @@ declare module 'angular' {
setNotify(setItem: boolean, removeItem: boolean): ILocalStorageServiceProvider;
}
+ // tslint:disable-next-line interface-name
interface ICookie {
/**
* Checks if cookies are enabled in the browser.
* Returns: Boolean
*/
- isSupported: boolean;
+ readonly isSupported: boolean;
/**
* Directly adds a value to cookies.
* Note: Typically used as a fallback if local storage is not supported.
- * Returns: Boolean
- * @param key
- * @param val
*/
- set(key: string, val: string): boolean;
- /**
- * Directly adds a value to cookies with an expiration.
- * Note: Typically used as a fallback if local storage is not supported.
- * Returns: Boolean
- * @param key
- * @param val
- * @param daysToExpiry
- */
- set(key: string, val: string, daysToExpiry: number): boolean;
+ set(key: string, val: string, daysToExpiry?: number): boolean;
/**
* Directly get a value from a cookie.
- * Returns: value from local storage
- * @param key
*/
get(key: string): string;
/**
* Remove directly value from a cookie.
- * Returns: Boolean
- * @param key
*/
remove(key: string): boolean;
/**
@@ -96,10 +84,15 @@ declare module 'angular' {
*/
clearAll(): any;
}
-
+
type StorageType = 'localStorage' | 'sessionStorage';
+ // tslint:disable-next-line interface-name
interface ILocalStorageService {
+ /**
+ * Change the local storage prefix during execution
+ */
+ changePrefix(newPrefix: string): void;
/**
* Checks if the browser support the current storage type(e.g: localStorage, sessionStorage).
* Returns: Boolean
@@ -112,28 +105,24 @@ declare module 'angular' {
/**
* Directly adds a value to local storage.
* If local storage is not supported, use cookies instead.
- * Returns: Boolean
- * @param key
- * @param value
*/
- set(key: string, value: T, storageType?: StorageType): boolean;
+ set(key: string, value: any, storageType?: StorageType): boolean;
/**
* Directly get a value from local storage.
* If local storage is not supported, use cookies instead.
* Returns: value from local storage
- * @param key
*/
- get(key: string, storageType?: StorageType): T;
+ get(key: string, storageType?: StorageType): any;
/**
* Return array of keys for local storage, ignore keys that not owned.
* Returns: value from local storage
*/
keys(storageType?: StorageType): string[];
- /**
+ /**
* Remove a list of items from the local storage by their given keys.
* The last item in the variable argument list can optionally be the StorageType.
* Which specifies whether to remove from the session storage or the local storage.
- * If the last argument is not a valid storage type it is considered to be a key,
+ * If the last argument is not a valid storage type it is considered to be a key,
* and localStorage is used by default .
* If local storage is not supported, use cookies instead.
* Returns: Boolean
@@ -144,29 +133,20 @@ declare module 'angular' {
* Remove all data for this app from local storage.
* If local storage is not supported, use cookies instead.
* Note: Optionally takes a regular expression string and removes matching.
- * Returns: Boolean
- * @param regularExpression
*/
clearAll(regularExpression?: RegExp, storageType?: StorageType): boolean;
/**
* Bind $scope key to localStorageService.
* Usage: localStorageService.bind(scope, property, value[optional], key[optional])
* Returns: deregistration function for this listener.
- * @param scope
- * @param property
- * @param value optional
- * @param key The corresponding key used in local storage
*/
- bind(scope: angular.IScope, property: string, value?: any, key?: string, storageType?: StorageType): Function;
+ bind(scope: IScope, property: string, value?: any, key?: string, storageType?: StorageType): () => void;
/**
* Return the derive key
- * Returns String
- * @param key
*/
deriveKey(key: string): string;
/**
* Return localStorageService.length, ignore keys that not owned.
- * Returns Number
*/
length(storageType?: StorageType): number;
/**
diff --git a/types/angular-local-storage/tsconfig.json b/types/angular-local-storage/tsconfig.json
index 44c357b558ba371..9aded898aa5f30b 100644
--- a/types/angular-local-storage/tsconfig.json
+++ b/types/angular-local-storage/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-local-storage-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-local-storage/tslint.json b/types/angular-local-storage/tslint.json
index 3d59f55fdabcf45..d086f8e13f785e5 100644
--- a/types/angular-local-storage/tslint.json
+++ b/types/angular-local-storage/tslint.json
@@ -1,80 +1,17 @@
{
"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,
- "npm-naming": 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
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ]
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-localforage/tslint.json b/types/angular-localforage/tslint.json
index 3d59f55fdabcf45..80237b1ac09ced5 100644
--- a/types/angular-localforage/tslint.json
+++ b/types/angular-localforage/tslint.json
@@ -1,80 +1,26 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-locker/tsconfig.json b/types/angular-locker/tsconfig.json
index 35091c7ea871cbb..9338d31c80352b3 100644
--- a/types/angular-locker/tsconfig.json
+++ b/types/angular-locker/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-locker-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-locker/tslint.json b/types/angular-locker/tslint.json
index 0a7abf97f86d346..edb17fce1a81c0c 100644
--- a/types/angular-locker/tslint.json
+++ b/types/angular-locker/tslint.json
@@ -1,81 +1,28 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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,
- "no-angle-bracket-type-assertion": false
+ "whitespace": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-material/index.d.ts b/types/angular-material/index.d.ts
index 810b043a86ae97a..bc4adb8c5dcfb73 100644
--- a/types/angular-material/index.d.ts
+++ b/types/angular-material/index.d.ts
@@ -434,6 +434,7 @@ declare module 'angular' {
addClass(newClass: string): void;
removeClass(oldClass: string): void;
toggleClass(toggleClass: string): void;
+ updateAnimation(animation: IPanelAnimation): void;
updatePosition(position: IPanelPosition): void;
registerInterceptor(type: string, callback: () => IPromise): IPanelRef;
removeInterceptor(type: string, callback: () => IPromise): IPanelRef;
@@ -461,6 +462,7 @@ declare module 'angular' {
openFrom(from: string | Element | Event | { top: number, left: number }): IPanelAnimation;
closeTo(to: string | Element | { top: number, left: number }): IPanelAnimation;
withAnimation(cssClass: string | { open: string, close: string }): IPanelAnimation;
+ duration(duration: number | { open: number, close: number }): IPanelAnimation;
}
interface IPanelService {
diff --git a/types/angular-material/tslint.json b/types/angular-material/tslint.json
index 4c42fed6484db5d..8f5b9e1a84baca5 100644
--- a/types/angular-material/tslint.json
+++ b/types/angular-material/tslint.json
@@ -1,9 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
- // TODOs
- "interface-name": false,
- "max-line-length": false,
- "no-void-expression": false
+ "interface-name": false
}
}
\ No newline at end of file
diff --git a/types/angular-media-queries/tsconfig.json b/types/angular-media-queries/tsconfig.json
index 6a02589dc1418ed..f40099ad74f178c 100644
--- a/types/angular-media-queries/tsconfig.json
+++ b/types/angular-media-queries/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-media-queries-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-media-queries/tslint.json b/types/angular-media-queries/tslint.json
index 3d59f55fdabcf45..a83e27b34b15bbb 100644
--- a/types/angular-media-queries/tslint.json
+++ b/types/angular-media-queries/tslint.json
@@ -1,80 +1,22 @@
{
"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,
- "npm-naming": 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-trailing-whitespace": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-meteor/index.d.ts b/types/angular-meteor/index.d.ts
index 11d782ee476cf42..52df3ad7cd7920e 100644
--- a/types/angular-meteor/index.d.ts
+++ b/types/angular-meteor/index.d.ts
@@ -2,7 +2,7 @@
// Project: https://github.com/Urigo/angular-meteor
// Definitions by: Peter Grman
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
-// TypeScript Version: 2.8
+// Minimum TypeScript Version: 3.7
///
diff --git a/types/angular-meteor/tsconfig.json b/types/angular-meteor/tsconfig.json
index 16d4015269c6e40..df7832992267e7c 100644
--- a/types/angular-meteor/tsconfig.json
+++ b/types/angular-meteor/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-meteor-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-meteor/tslint.json b/types/angular-meteor/tslint.json
index 6c7fd03ccda21f4..ff57ff928b6a504 100644
--- a/types/angular-meteor/tslint.json
+++ b/types/angular-meteor/tslint.json
@@ -1,81 +1,29 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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-trailing-whitespace": 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,
+ "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-mocks/tslint.json b/types/angular-mocks/tslint.json
index e91317558b05796..a00b5d281234cb1 100644
--- a/types/angular-mocks/tslint.json
+++ b/types/angular-mocks/tslint.json
@@ -1,10 +1,10 @@
{
- "extends": "dtslint/dt.json",
- "rules": {
- "callable-types": false,
- "interface-name": false,
- "no-declare-current-package": false,
- "no-unnecessary-generics": false,
- "only-arrow-functions": false
- }
-}
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "callable-types": false,
+ "interface-name": false,
+ "no-declare-current-package": false,
+ "no-unnecessary-generics": false,
+ "only-arrow-functions": false
+ }
+}
\ No newline at end of file
diff --git a/types/angular-modal/tslint.json b/types/angular-modal/tslint.json
index 3d59f55fdabcf45..9e15de5625e1e06 100644
--- a/types/angular-modal/tslint.json
+++ b/types/angular-modal/tslint.json
@@ -1,80 +1,24 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-notifications/tsconfig.json b/types/angular-notifications/tsconfig.json
index 7186df8fd5be45f..440621ec89a9f6e 100644
--- a/types/angular-notifications/tsconfig.json
+++ b/types/angular-notifications/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-notifications-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-notifications/tslint.json b/types/angular-notifications/tslint.json
index 3d59f55fdabcf45..4e249fe782a471e 100644
--- a/types/angular-notifications/tslint.json
+++ b/types/angular-notifications/tslint.json
@@ -1,80 +1,37 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-notify/tsconfig.json b/types/angular-notify/tsconfig.json
index a993101ea8cba05..c5c576c46c4d565 100644
--- a/types/angular-notify/tsconfig.json
+++ b/types/angular-notify/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-notify-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-notify/tslint.json b/types/angular-notify/tslint.json
index 3d59f55fdabcf45..2ed88fcd4f77ba4 100644
--- a/types/angular-notify/tslint.json
+++ b/types/angular-notify/tslint.json
@@ -1,80 +1,28 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-odata-resources/tslint.json b/types/angular-odata-resources/tslint.json
index 0a7abf97f86d346..549572f78fb386b 100644
--- a/types/angular-odata-resources/tslint.json
+++ b/types/angular-odata-resources/tslint.json
@@ -1,81 +1,28 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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,
- "no-angle-bracket-type-assertion": false
+ "whitespace": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-permission/tslint.json b/types/angular-permission/tslint.json
index 3d59f55fdabcf45..8f21a3d80e6d49b 100644
--- a/types/angular-permission/tslint.json
+++ b/types/angular-permission/tslint.json
@@ -1,80 +1,25 @@
{
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-promise-tracker/tslint.json b/types/angular-promise-tracker/tslint.json
index 3d59f55fdabcf45..fdc3c57f47ceb6d 100644
--- a/types/angular-promise-tracker/tslint.json
+++ b/types/angular-promise-tracker/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-q-spread/tslint.json b/types/angular-q-spread/tslint.json
index 3d59f55fdabcf45..eab458777e74839 100644
--- a/types/angular-q-spread/tslint.json
+++ b/types/angular-q-spread/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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
+ "semicolon": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-resource/tslint.json b/types/angular-resource/tslint.json
index b4b1464296f2edc..b0f2d9c874e7df1 100644
--- a/types/angular-resource/tslint.json
+++ b/types/angular-resource/tslint.json
@@ -1,14 +1,13 @@
{
"extends": "dtslint/dt.json",
"rules": {
- // TODO: Fix up types to remove these
+ "ban-types": false,
"interface-name": false,
- "only-arrow-functions": false,
"no-empty-interface": false,
"no-object-literal-type-assertion": false,
- "ban-types": false,
+ "no-unnecessary-generics": false,
+ "only-arrow-functions": false,
"space-before-function-paren": false,
- "unified-signatures": false,
- "no-unnecessary-generics": false
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-route/tslint.json b/types/angular-route/tslint.json
index 3d59f55fdabcf45..68c7d70fa301c3c 100644
--- a/types/angular-route/tslint.json
+++ b/types/angular-route/tslint.json
@@ -1,80 +1,23 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-sanitize/tslint.json b/types/angular-sanitize/tslint.json
index 3d59f55fdabcf45..2f29948a38708eb 100644
--- a/types/angular-sanitize/tslint.json
+++ b/types/angular-sanitize/tslint.json
@@ -1,80 +1,13 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-scenario/tsconfig.json b/types/angular-scenario/tsconfig.json
index 82e62843769c48e..71e6b79545f5b8d 100644
--- a/types/angular-scenario/tsconfig.json
+++ b/types/angular-scenario/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"files": [
"index.d.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-scenario/tslint.json b/types/angular-scenario/tslint.json
index 3d59f55fdabcf45..16a8c62bb65b98f 100644
--- a/types/angular-scenario/tslint.json
+++ b/types/angular-scenario/tslint.json
@@ -2,79 +2,14 @@
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-scroll/tslint.json b/types/angular-scroll/tslint.json
index 3d59f55fdabcf45..7f7c93ccc534ab2 100644
--- a/types/angular-scroll/tslint.json
+++ b/types/angular-scroll/tslint.json
@@ -2,79 +2,18 @@
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-signalr-hub/tslint.json b/types/angular-signalr-hub/tslint.json
index 3d59f55fdabcf45..56618907873f5bb 100644
--- a/types/angular-signalr-hub/tslint.json
+++ b/types/angular-signalr-hub/tslint.json
@@ -1,80 +1,19 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-spinner/tsconfig.json b/types/angular-spinner/tsconfig.json
index e09fc93f8e628d2..fc3fa8f1d9eb500 100644
--- a/types/angular-spinner/tsconfig.json
+++ b/types/angular-spinner/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-spinner-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-spinner/tslint.json b/types/angular-spinner/tslint.json
index 3d59f55fdabcf45..b3b775fd26a7a27 100644
--- a/types/angular-spinner/tslint.json
+++ b/types/angular-spinner/tslint.json
@@ -1,80 +1,14 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-storage/tsconfig.json b/types/angular-storage/tsconfig.json
index 07dc148cefec948..75c7bc4d44532e2 100644
--- a/types/angular-storage/tsconfig.json
+++ b/types/angular-storage/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-storage-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-storage/tslint.json b/types/angular-storage/tslint.json
index 3d59f55fdabcf45..c240b01de624def 100644
--- a/types/angular-storage/tslint.json
+++ b/types/angular-storage/tslint.json
@@ -1,80 +1,20 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-strap/tsconfig.json b/types/angular-strap/tsconfig.json
index 7ac157876bff62c..89e12a0e972ee46 100644
--- a/types/angular-strap/tsconfig.json
+++ b/types/angular-strap/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-strap-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-strap/tslint.json b/types/angular-strap/tslint.json
index fc261a36d6263c6..f566ad7cd6ccba7 100644
--- a/types/angular-strap/tslint.json
+++ b/types/angular-strap/tslint.json
@@ -1,8 +1,8 @@
-{
- "extends": "dtslint/dt.json" ,
- "rules": { //TODO
- "interface-name": [true, "always-prefix"],
- "no-empty-interface" : false,
- "no-namespace" : false
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "interface-name": false,
+ "no-empty-interface": false,
+ "no-namespace": false
}
}
\ No newline at end of file
diff --git a/types/angular-toastr/tslint.json b/types/angular-toastr/tslint.json
index 3d59f55fdabcf45..e0aba8540dc69f1 100644
--- a/types/angular-toastr/tslint.json
+++ b/types/angular-toastr/tslint.json
@@ -1,80 +1,31 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-toasty/tsconfig.json b/types/angular-toasty/tsconfig.json
index 085335904c5a331..7a74acffb796bb1 100644
--- a/types/angular-toasty/tsconfig.json
+++ b/types/angular-toasty/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": false,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-toasty-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-toasty/tslint.json b/types/angular-toasty/tslint.json
index 3d59f55fdabcf45..b4f92e15b195b75 100644
--- a/types/angular-toasty/tslint.json
+++ b/types/angular-toasty/tslint.json
@@ -1,80 +1,25 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-translate/tsconfig.json b/types/angular-translate/tsconfig.json
index 7b3df3db8822c8d..b7249b58ea1b9ee 100644
--- a/types/angular-translate/tsconfig.json
+++ b/types/angular-translate/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-translate-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-translate/tslint.json b/types/angular-translate/tslint.json
index 3d59f55fdabcf45..d249ab015fe2e1f 100644
--- a/types/angular-translate/tslint.json
+++ b/types/angular-translate/tslint.json
@@ -1,80 +1,24 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-ui-bootstrap/tslint.json b/types/angular-ui-bootstrap/tslint.json
index 3d59f55fdabcf45..bffb604f0475829 100644
--- a/types/angular-ui-bootstrap/tslint.json
+++ b/types/angular-ui-bootstrap/tslint.json
@@ -1,80 +1,24 @@
{
"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,
- "npm-naming": 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,
+ "no-unnecessary-qualifier": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-ui-notification/tsconfig.json b/types/angular-ui-notification/tsconfig.json
index 25e376918650aa7..5802c3eef9925a2 100644
--- a/types/angular-ui-notification/tsconfig.json
+++ b/types/angular-ui-notification/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular-ui-notification-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular-ui-notification/tslint.json b/types/angular-ui-notification/tslint.json
index 3d59f55fdabcf45..acd82e42ce39553 100644
--- a/types/angular-ui-notification/tslint.json
+++ b/types/angular-ui-notification/tslint.json
@@ -1,80 +1,27 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ],
"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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-ui-router/tslint.json b/types/angular-ui-router/tslint.json
index 3d59f55fdabcf45..42eee1632e23cef 100644
--- a/types/angular-ui-router/tslint.json
+++ b/types/angular-ui-router/tslint.json
@@ -1,80 +1,34 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-ui-scroll/tslint.json b/types/angular-ui-scroll/tslint.json
index 3d59f55fdabcf45..7698ff75a6aebc7 100644
--- a/types/angular-ui-scroll/tslint.json
+++ b/types/angular-ui-scroll/tslint.json
@@ -1,80 +1,26 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-ui-sortable/tslint.json b/types/angular-ui-sortable/tslint.json
index 3d59f55fdabcf45..ae185692f1298d5 100644
--- a/types/angular-ui-sortable/tslint.json
+++ b/types/angular-ui-sortable/tslint.json
@@ -1,80 +1,24 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-ui-tree/tslint.json b/types/angular-ui-tree/tslint.json
index 0a7abf97f86d346..d7dc625fc11e404 100644
--- a/types/angular-ui-tree/tslint.json
+++ b/types/angular-ui-tree/tslint.json
@@ -1,81 +1,17 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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,
+ "npm-naming": 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,
- "no-angle-bracket-type-assertion": false
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-websocket/tslint.json b/types/angular-websocket/tslint.json
index 2c7c1bed5393c6b..8f5b9e1a84baca5 100644
--- a/types/angular-websocket/tslint.json
+++ b/types/angular-websocket/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"interface-name": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-wizard/tslint.json b/types/angular-wizard/tslint.json
index 6c7fd03ccda21f4..bcc014d48e5b668 100644
--- a/types/angular-wizard/tslint.json
+++ b/types/angular-wizard/tslint.json
@@ -1,81 +1,23 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular-xeditable/tsconfig.json b/types/angular-xeditable/tsconfig.json
index 44cdeea7bf950f9..f897102463098f5 100644
--- a/types/angular-xeditable/tsconfig.json
+++ b/types/angular-xeditable/tsconfig.json
@@ -11,7 +11,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"noEmit": true,
"forceConsistentCasingInFileNames": true
}
-}
\ No newline at end of file
+}
diff --git a/types/angular-xeditable/tslint.json b/types/angular-xeditable/tslint.json
index 3d59f55fdabcf45..876650793968707 100644
--- a/types/angular-xeditable/tslint.json
+++ b/types/angular-xeditable/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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
+ "prefer-method-signature": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angular.throttle/tsconfig.json b/types/angular.throttle/tsconfig.json
index bcee04a06f9802f..eabc45e4262cb05 100644
--- a/types/angular.throttle/tsconfig.json
+++ b/types/angular.throttle/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angular.throttle-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angular.throttle/tslint.json b/types/angular.throttle/tslint.json
index 3d59f55fdabcf45..15b34758383fc60 100644
--- a/types/angular.throttle/tslint.json
+++ b/types/angular.throttle/tslint.json
@@ -1,80 +1,21 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angular/tslint.json b/types/angular/tslint.json
index b0c1e9007a6257b..dc86b7d94a01680 100644
--- a/types/angular/tslint.json
+++ b/types/angular/tslint.json
@@ -1,14 +1,13 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "class-name": true,
- "indent": [true, "spaces"],
- "quotemark": [true, "single"],
- "variable-name": [true, "check-format"],
-
- // Below are all TODOs
- "callable-types": false,
"ban-types": false,
+ "callable-types": false,
+ "class-name": true,
+ "indent": [
+ true,
+ "spaces"
+ ],
"interface-name": false,
"jsdoc-format": false,
"max-line-length": false,
@@ -16,8 +15,15 @@
"no-namespace": false,
"no-unnecessary-generics": false,
"no-unnecessary-qualifier": false,
- "no-void-expression": false,
+ "quotemark": [
+ true,
+ "single"
+ ],
"unified-signatures": false,
+ "variable-name": [
+ true,
+ "check-format"
+ ],
"void-return": false
}
}
\ No newline at end of file
diff --git a/types/angularfire/tsconfig.json b/types/angularfire/tsconfig.json
index 79526d1d235f6d0..f550ab71777278e 100644
--- a/types/angularfire/tsconfig.json
+++ b/types/angularfire/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": false,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angularfire-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angularfire/tslint.json b/types/angularfire/tslint.json
index 0a7abf97f86d346..31de78d87c27573 100644
--- a/types/angularfire/tslint.json
+++ b/types/angularfire/tslint.json
@@ -1,81 +1,25 @@
{
"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,
- "npm-naming": 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-angle-bracket-type-assertion": 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,
+ "npm-naming": 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,
- "no-angle-bracket-type-assertion": false
+ "whitespace": false
}
-}
+}
\ No newline at end of file
diff --git a/types/angularlocalstorage/tsconfig.json b/types/angularlocalstorage/tsconfig.json
index 18cbe35651afb14..bdc6ddcfafd414d 100644
--- a/types/angularlocalstorage/tsconfig.json
+++ b/types/angularlocalstorage/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"angularlocalstorage-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/angularlocalstorage/tslint.json b/types/angularlocalstorage/tslint.json
index 3d59f55fdabcf45..ba5a59d0bfdc307 100644
--- a/types/angularlocalstorage/tslint.json
+++ b/types/angularlocalstorage/tslint.json
@@ -1,80 +1,18 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/angulartics/tslint.json b/types/angulartics/tslint.json
index 3d59f55fdabcf45..3ef49b130c0b818 100644
--- a/types/angulartics/tslint.json
+++ b/types/angulartics/tslint.json
@@ -1,80 +1,18 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/animation-frame/tsconfig.json b/types/animation-frame/tsconfig.json
index 50f3aa070361f4c..4cedb09f1f39623 100644
--- a/types/animation-frame/tsconfig.json
+++ b/types/animation-frame/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"animation-frame-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/animation-frame/tslint.json b/types/animation-frame/tslint.json
index 3d59f55fdabcf45..3a33099cca0e928 100644
--- a/types/animation-frame/tslint.json
+++ b/types/animation-frame/tslint.json
@@ -1,80 +1,13 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/ansi-styles/tsconfig.json b/types/ansi-styles/tsconfig.json
index daf091f6cec1aa2..24caa116274ff42 100644
--- a/types/ansi-styles/tsconfig.json
+++ b/types/ansi-styles/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"ansi-styles-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/ansi-styles/tslint.json b/types/ansi-styles/tslint.json
index 3d59f55fdabcf45..f1958e9941a768b 100644
--- a/types/ansi-styles/tslint.json
+++ b/types/ansi-styles/tslint.json
@@ -1,80 +1,16 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/ansicolors/tsconfig.json b/types/ansicolors/tsconfig.json
index 02963e3afd7de05..ecc22c8314bf247 100644
--- a/types/ansicolors/tsconfig.json
+++ b/types/ansicolors/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -19,4 +19,4 @@
"files": [
"index.d.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/ansicolors/tslint.json b/types/ansicolors/tslint.json
index 3d59f55fdabcf45..761d348155682f5 100644
--- a/types/ansicolors/tslint.json
+++ b/types/ansicolors/tslint.json
@@ -1,80 +1,16 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": [
+ true,
+ {
+ "mode": "name-only"
+ }
+ ],
"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
+ "semicolon": false
}
-}
+}
\ No newline at end of file
diff --git a/types/any-db-transaction/tsconfig.json b/types/any-db-transaction/tsconfig.json
index 70db166ef809d70..cd69713b1ec8b57 100644
--- a/types/any-db-transaction/tsconfig.json
+++ b/types/any-db-transaction/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"any-db-transaction-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/any-db-transaction/tslint.json b/types/any-db-transaction/tslint.json
index 3d59f55fdabcf45..9c811f36d2517cc 100644
--- a/types/any-db-transaction/tslint.json
+++ b/types/any-db-transaction/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/any-db/tsconfig.json b/types/any-db/tsconfig.json
index 21170c7c688e4dd..9957bf9fc88eedd 100644
--- a/types/any-db/tsconfig.json
+++ b/types/any-db/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"any-db-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/any-db/tslint.json b/types/any-db/tslint.json
index 3d59f55fdabcf45..05585ef432ef502 100644
--- a/types/any-db/tslint.json
+++ b/types/any-db/tslint.json
@@ -1,80 +1,18 @@
{
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/anyproxy/anyproxy-tests.ts b/types/anyproxy/anyproxy-tests.ts
index 35f4199ede82e5e..ba6e7c6ee82afea 100644
--- a/types/anyproxy/anyproxy-tests.ts
+++ b/types/anyproxy/anyproxy-tests.ts
@@ -60,3 +60,11 @@ proxyServer.start();
// When finished
proxyServer.close();
+
+AnyProxy.utils.systemProxyMgr.enableGlobalProxy('127.0.0.1', 8080);
+AnyProxy.utils.systemProxyMgr.enableGlobalProxy('127.0.0.1', 8080, 'http');
+AnyProxy.utils.systemProxyMgr.enableGlobalProxy('127.0.0.1', 8080, 'https');
+
+AnyProxy.utils.systemProxyMgr.disableGlobalProxy();
+AnyProxy.utils.systemProxyMgr.disableGlobalProxy('http');
+AnyProxy.utils.systemProxyMgr.disableGlobalProxy('https');
diff --git a/types/anyproxy/index.d.ts b/types/anyproxy/index.d.ts
index 8da95a49f3ac94d..233cb66716b0833 100644
--- a/types/anyproxy/index.d.ts
+++ b/types/anyproxy/index.d.ts
@@ -1,6 +1,7 @@
// Type definitions for anyproxy 4.1
// Project: https://github.com/alibaba/anyproxy
// Definitions by: Maxime LUCE
+// Roland Reed
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///
@@ -21,6 +22,8 @@ import {
export type MaybePromise = T | Promise;
+export type NetworkType = 'http' | 'https';
+
export interface ProxyOptions {
/** Port number of proxy server */
port: string | number;
@@ -229,9 +232,9 @@ export namespace utils {
/** Manage the system proxy config. sudo password may be required. */
namespace systemProxyMgr {
/** Enable global system proxy with specified params. sudo password may be required. */
- function enableGlobalProxy(host: string, port: string | number): void;
+ function enableGlobalProxy(host: string, port: string | number, networkType?: NetworkType): void;
/** Disable global system proxy. sudo password may be required. */
- function disableGlobalProxy(): void;
+ function disableGlobalProxy(networkType?: NetworkType): void;
}
/** Manage certificates of AnyProxy. */
diff --git a/types/apex.js/index.d.ts b/types/apex.js/index.d.ts
index edc136a678001fc..3af0de9d7230872 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.8
+// TypeScript Version: 3.0
///
diff --git a/types/api-error-handler/tsconfig.json b/types/api-error-handler/tsconfig.json
index 343e9007e9704a3..d07c138a840ea25 100644
--- a/types/api-error-handler/tsconfig.json
+++ b/types/api-error-handler/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"api-error-handler-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/api-error-handler/tslint.json b/types/api-error-handler/tslint.json
index 3d59f55fdabcf45..d8d1ecdb105db12 100644
--- a/types/api-error-handler/tslint.json
+++ b/types/api-error-handler/tslint.json
@@ -1,80 +1,14 @@
{
"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,
- "npm-naming": 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
+ "space-before-function-paren": false
}
-}
+}
\ No newline at end of file
diff --git a/types/apigee-access/tsconfig.json b/types/apigee-access/tsconfig.json
index 3a18c6594ad296a..92c705567e2cf5c 100644
--- a/types/apigee-access/tsconfig.json
+++ b/types/apigee-access/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"apigee-access-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/apigee-access/tslint.json b/types/apigee-access/tslint.json
index 3d59f55fdabcf45..31d672e65fd8578 100644
--- a/types/apigee-access/tslint.json
+++ b/types/apigee-access/tslint.json
@@ -1,80 +1,19 @@
{
"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,
- "npm-naming": 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,
+ "no-var-keyword": 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
+ "space-within-parens": false
}
-}
+}
\ No newline at end of file
diff --git a/types/apostrophe/tslint.json b/types/apostrophe/tslint.json
index 30332ffc419bfb7..556e3a0b3a3c08a 100644
--- a/types/apostrophe/tslint.json
+++ b/types/apostrophe/tslint.json
@@ -1,6 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "array-type": [true, "array"]
+ "array-type": false
}
-}
+}
\ No newline at end of file
diff --git a/types/app-root-path/tsconfig.json b/types/app-root-path/tsconfig.json
index 0786aa8b6c7c971..5f86681e06b8c0a 100644
--- a/types/app-root-path/tsconfig.json
+++ b/types/app-root-path/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"app-root-path-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/app-root-path/tslint.json b/types/app-root-path/tslint.json
index 3d59f55fdabcf45..0c72de3e2deff42 100644
--- a/types/app-root-path/tslint.json
+++ b/types/app-root-path/tslint.json
@@ -1,80 +1,14 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/appframework/tsconfig.json b/types/appframework/tsconfig.json
index 8ed9e604ca7c853..4b140394a23ba65 100644
--- a/types/appframework/tsconfig.json
+++ b/types/appframework/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"appframework-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/appframework/tslint.json b/types/appframework/tslint.json
index 3d59f55fdabcf45..7309ac8ba0ef08e 100644
--- a/types/appframework/tslint.json
+++ b/types/appframework/tslint.json
@@ -1,80 +1,22 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/apple-mapkit-js/tslint.json b/types/apple-mapkit-js/tslint.json
index 1e2596d3715a9fc..159b250765146f1 100644
--- a/types/apple-mapkit-js/tslint.json
+++ b/types/apple-mapkit-js/tslint.json
@@ -1,6 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "npm-naming": false
+ "npm-naming": false
}
-}
+}
\ No newline at end of file
diff --git a/types/apple-signin-api/apple-signin-api-tests.ts b/types/apple-signin-api/apple-signin-api-tests.ts
new file mode 100644
index 000000000000000..e899b2690864d3d
--- /dev/null
+++ b/types/apple-signin-api/apple-signin-api-tests.ts
@@ -0,0 +1,42 @@
+const ClientConfig: AppleSignInAPI.ClientConfigI = {
+ clientId: '',
+ redirectURI: '',
+ scope: '',
+ state: '',
+ usePopup: false,
+};
+
+const signInResponse: AppleSignInAPI.SignInResponseI = {
+ authorization: {
+ state: '[STATE]',
+ code: '[CODE]',
+ id_token: '[ID_TOKEN]',
+ },
+ user: {
+ email: '[EMAIL]',
+ name: {
+ firstName: '[FIRST_NAME]',
+ lastName: '[LAST_NAME]',
+ },
+ },
+};
+
+const signInError: AppleSignInAPI.SignInErrorI = {
+ error: '[ERROR]',
+};
+
+const AuthGood: AppleSignInAPI.AppleID = {
+ auth: {
+ init: () => new Promise(() => {}),
+ signIn: () => new Promise(() => signInResponse),
+ renderButton: () => {},
+ },
+};
+
+const AuthBad: AppleSignInAPI.AppleID = {
+ auth: {
+ init: () => new Promise(() => {}),
+ signIn: () => new Promise(() => signInError),
+ renderButton: () => {},
+ },
+};
diff --git a/types/apple-signin-api/index.d.ts b/types/apple-signin-api/index.d.ts
new file mode 100644
index 000000000000000..64443bea196e20b
--- /dev/null
+++ b/types/apple-signin-api/index.d.ts
@@ -0,0 +1,49 @@
+// Type definitions for non-npm package Apple Sign in API 1.4
+// Project: https://developer.apple.com/documentation/signinwithapplejs
+// Definitions by: Julius Lungys
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+declare namespace AppleSignInAPI {
+ // https://developer.apple.com/documentation/signinwithapplejs/authorizationi
+ interface AuthorizationI {
+ code: string;
+ id_token: string;
+ state: string;
+ }
+ // https://developer.apple.com/documentation/signinwithapplejs/namei
+ interface NameI {
+ firstName: string;
+ lastName: string;
+ }
+ // https://developer.apple.com/documentation/signinwithapplejs/signinerrori
+ interface SignInErrorI {
+ error: string;
+ }
+ // https://developer.apple.com/documentation/signinwithapplejs/signinresponsei
+ interface SignInResponseI {
+ authorization: AuthorizationI;
+ user?: UserI;
+ }
+ // https://developer.apple.com/documentation/signinwithapplejs/useri
+ interface UserI {
+ email: string;
+ name: NameI;
+ }
+ // https://developer.apple.com/documentation/signinwithapplejs/authi
+ interface AuthI {
+ init: (config: ClientConfigI) => Promise;
+ signIn: (signInConfig?: ClientConfigI) => Promise;
+ renderButton: () => void;
+ }
+ // https://developer.apple.com/documentation/signinwithapplejs/clientconfigi
+ interface ClientConfigI {
+ clientId: string;
+ redirectURI: string;
+ scope: string;
+ state: string;
+ usePopup: boolean;
+ }
+ interface AppleID {
+ auth: AuthI;
+ }
+}
diff --git a/types/jest-matcher-utils/tsconfig.json b/types/apple-signin-api/tsconfig.json
similarity index 92%
rename from types/jest-matcher-utils/tsconfig.json
rename to types/apple-signin-api/tsconfig.json
index 33b27e63054b64d..fb8304e52186db4 100644
--- a/types/jest-matcher-utils/tsconfig.json
+++ b/types/apple-signin-api/tsconfig.json
@@ -6,8 +6,8 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": true,
"strictFunctionTypes": true,
+ "strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
@@ -18,6 +18,6 @@
},
"files": [
"index.d.ts",
- "jest-matcher-utils-tests.ts"
+ "apple-signin-api-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/hapi__code/tslint.json b/types/apple-signin-api/tslint.json
similarity index 100%
rename from types/hapi__code/tslint.json
rename to types/apple-signin-api/tslint.json
diff --git a/types/applepayjs/tslint.json b/types/applepayjs/tslint.json
index 1c56ba06b642abe..159b250765146f1 100644
--- a/types/applepayjs/tslint.json
+++ b/types/applepayjs/tslint.json
@@ -1,7 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "npm-naming": false,
- "dt-header": false
+ "npm-naming": false
}
-}
+}
\ No newline at end of file
diff --git a/types/appletvjs/tslint.json b/types/appletvjs/tslint.json
index 3d59f55fdabcf45..906c95650abde90 100644
--- a/types/appletvjs/tslint.json
+++ b/types/appletvjs/tslint.json
@@ -1,80 +1,25 @@
{
"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,
- "npm-naming": 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,
+ "no-var-keyword": false,
+ "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/applicationinsights-js/tslint.json b/types/applicationinsights-js/tslint.json
index 29f4a79556cfd32..48a1334243e2c86 100644
--- a/types/applicationinsights-js/tslint.json
+++ b/types/applicationinsights-js/tslint.json
@@ -1,7 +1,6 @@
{
"extends": "dtslint/dt.json",
"rules": {
- // All are TODOs
"interface-name": false,
"no-declare-current-package": false,
"no-internal-module": false,
@@ -12,4 +11,4 @@
"no-unnecessary-class": false,
"no-unnecessary-qualifier": false
}
-}
+}
\ No newline at end of file
diff --git a/types/arangodb/index.d.ts b/types/arangodb/index.d.ts
index dc211882c11391a..26fd6b34f5e0890 100644
--- a/types/arangodb/index.d.ts
+++ b/types/arangodb/index.d.ts
@@ -89,7 +89,7 @@ declare namespace ArangoDB {
| "network authentication required";
type EdgeDirection = "any" | "inbound" | "outbound";
type EngineType = "mmfiles" | "rocksdb";
- type IndexType = "hash" | "skiplist" | "fulltext" | "geo";
+ type IndexType = "hash" | "skiplist" | "fulltext" | "geo" | "ttl";
type ViewType = "arangosearch";
type KeyGeneratorType = "traditional" | "autoincrement";
type ErrorName =
@@ -510,6 +510,7 @@ declare namespace ArangoDB {
sparse?: boolean;
unique?: boolean;
deduplicate?: boolean;
+ expireAfter?: number;
}
interface Index {
@@ -520,6 +521,7 @@ declare namespace ArangoDB {
sparse: boolean;
unique: boolean;
deduplicate: boolean;
+ expireAfter?: number;
isNewlyCreated: boolean;
selectivityEstimate: number;
code: number;
@@ -1529,9 +1531,17 @@ declare module "@arangodb/foxx/queues" {
}
declare module "@arangodb/foxx/graphql" {
- import { formatError, GraphQLSchema } from "graphql";
- type GraphQLModule = object;
- type GraphQLFormatErrorFunction = typeof formatError;
+ type GraphQLSchema = object;
+ type GraphQLFormatErrorFunction = (error: any) => any;
+ interface GraphQLModule {
+ formatError: GraphQLFormatErrorFunction;
+ Source: any;
+ parse: any;
+ validate: any;
+ specifiedRules: any;
+ getOperationAST: any;
+ execute: any;
+ }
interface GraphQLOptions {
schema: GraphQLSchema;
context?: any;
diff --git a/types/arbiter/tslint.json b/types/arbiter/tslint.json
index 3d59f55fdabcf45..b716dd3d96d3c14 100644
--- a/types/arbiter/tslint.json
+++ b/types/arbiter/tslint.json
@@ -1,80 +1,20 @@
{
"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,
- "npm-naming": 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,
+ "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/arcgis-js-api/tsconfig.json b/types/arcgis-js-api/tsconfig.json
index 8a696a3a1e17708..2279e860507ca81 100644
--- a/types/arcgis-js-api/tsconfig.json
+++ b/types/arcgis-js-api/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"arcgis-js-api-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/arcgis-js-api/tslint.json b/types/arcgis-js-api/tslint.json
index 89955128d54071c..630ffb79427e857 100644
--- a/types/arcgis-js-api/tslint.json
+++ b/types/arcgis-js-api/tslint.json
@@ -3,79 +3,21 @@
"rules": {
"adjacent-overload-signatures": false,
"array-type": false,
- "arrow-return-shorthand": false,
"ban-types": false,
"callable-types": false,
- "comment-format": false,
- "dt-header": false,
- "npm-naming": 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,
"use-default-type-parameter": false,
- "void-return": false,
- "whitespace": false
+ "void-return": false
}
-}
+}
\ No newline at end of file
diff --git a/types/arcgis-js-api/v3/tsconfig.json b/types/arcgis-js-api/v3/tsconfig.json
index 320cb582e14967a..9489dead3e68e49 100644
--- a/types/arcgis-js-api/v3/tsconfig.json
+++ b/types/arcgis-js-api/v3/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../../",
"typeRoots": [
@@ -26,4 +26,4 @@
"index.d.ts",
"arcgis-js-api-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/arcgis-js-api/v3/tslint.json b/types/arcgis-js-api/v3/tslint.json
index a41bf5d19a37606..6cf12a895051127 100644
--- a/types/arcgis-js-api/v3/tslint.json
+++ b/types/arcgis-js-api/v3/tslint.json
@@ -1,79 +1,19 @@
{
"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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/arcgis-to-geojson-utils/tslint.json b/types/arcgis-to-geojson-utils/tslint.json
index 71ee04c4e1a2104..ad93d8fc0d9ca6b 100644
--- a/types/arcgis-to-geojson-utils/tslint.json
+++ b/types/arcgis-to-geojson-utils/tslint.json
@@ -3,4 +3,4 @@
"rules": {
"no-unnecessary-generics": false
}
-}
+}
\ No newline at end of file
diff --git a/types/archiver/archiver-tests.ts b/types/archiver/archiver-tests.ts
index d61950b6579c7df..53a45fcdc2828c6 100644
--- a/types/archiver/archiver-tests.ts
+++ b/types/archiver/archiver-tests.ts
@@ -30,28 +30,27 @@ archiver.abort();
archiver.pipe(writeStream);
archiver.append(readStream, { name: 'archiver.d.ts' });
-archiver.append(readStream, { date: '05/05/1991' });
-archiver.append(readStream, { date: new Date() });
-archiver.append(readStream, { mode: 1 });
-archiver.append(readStream, { mode: 1, stats: new fs.Stats() });
-
-archiver.append(readStream, {name: 'archiver.d.ts'})
-.append(readStream, {name: 'archiver.d.ts'});
+archiver.append(readStream, { name: 'buffer.txt', date: '05/05/1991' });
+archiver.append(readStream, { name: 'buffer.txt', date: new Date() });
+archiver.append(readStream, { name: 'buffer.txt', mode: 1 });
+archiver.append(readStream, { name: 'buffer.txt', mode: 1, stats: new fs.Stats() });
+archiver.append('Some content', { name: 'filename', store: true });
+archiver.append(readStream, { name: 'archiver.d.ts' }).append(readStream, { name: 'archiver.d.ts' });
archiver.directory('./path', './someOtherPath');
archiver.directory('./', '', {});
archiver.directory('./', false, { name: 'test' });
archiver.directory('./', false, (entry: Archiver.EntryData) => {
- entry.name = "foobar";
+ entry.name = 'foobar';
return entry;
});
archiver.directory('./', false, (entry: Archiver.EntryData) => false);
archiver.append(readStream, {
- name: "sub/folder.xml"
+ name: 'sub/folder.xml',
});
-archiver.glob("**", {
+archiver.glob('**', {
cwd: 'path/to/files',
});
archiver.glob('./path', {}, {});
diff --git a/types/archiver/index.d.ts b/types/archiver/index.d.ts
index 225f00cd0a823a4..00e138309f15625 100644
--- a/types/archiver/index.d.ts
+++ b/types/archiver/index.d.ts
@@ -1,6 +1,9 @@
-// Type definitions for archiver 3.0.0
+// Type definitions for archiver 3.1
// Project: https://github.com/archiverjs/node-archiver
-// Definitions by: Esri , Dolan Miu , Crevil
+// Definitions by: Esri
+// Dolan Miu
+// Crevil
+// Piotr Błażejewicz
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as fs from 'fs';
@@ -8,6 +11,10 @@ import * as stream from 'stream';
import * as glob from 'glob';
import { ZlibOptions } from 'zlib';
+type Partial = {
+ [P in keyof T]?: T[P];
+};
+
declare function archiver(format: archiver.Format, options?: archiver.ArchiverOptions): archiver.Archiver;
declare namespace archiver {
@@ -17,13 +24,31 @@ declare namespace archiver {
function registerFormat(format: string, module: Function): void;
interface EntryData {
- name?: string;
- prefix?: string;
- stats?: fs.Stats;
+ /** Sets the entry name including internal path */
+ name: string;
+ /** Sets the entry date */
date?: Date | string;
+ /** Sets the entry permissions */
mode?: number;
+ /**
+ * Sets a path prefix for the entry name.
+ * Useful when working with methods like `directory` or `glob`
+ */
+ prefix?: string;
+ /**
+ * Sets the fs stat data for this entry allowing
+ * for reduction of fs stat calls when stat data is already known
+ */
+ stats?: fs.Stats;
}
+ interface ZipEntryData extends EntryData {
+ /** Sets the compression method to STORE */
+ store?: boolean;
+ }
+
+ type TarEntryData = EntryData;
+
interface ProgressData {
entries: {
total: number;
@@ -39,7 +64,7 @@ declare namespace archiver {
type EntryDataFunction = (entry: EntryData) => false | EntryData;
class ArchiverError extends Error {
- code: string; // Since archiver format support is modular, we cannot enumerate all possible error codes, as the modules can throw arbitrary ones.
+ code: string; // Since archiver format support is modular, we cannot enumerate all possible error codes, as the modules can throw arbitrary ones.
data: any;
path?: any;
@@ -48,12 +73,12 @@ declare namespace archiver {
interface Archiver extends stream.Transform {
abort(): this;
- append(source: stream.Readable | Buffer | string, name?: EntryData): this;
+ append(source: stream.Readable | Buffer | string, data?: EntryData | ZipEntryData | TarEntryData): this;
/** if false is passed for destpath, the path of a chunk of data in the archive is set to the root */
- directory(dirpath: string, destpath: false | string, data?: EntryData | EntryDataFunction): this;
+ directory(dirpath: string, destpath: false | string, data?: Partial | EntryDataFunction): this;
file(filename: string, data: EntryData): this;
- glob(pattern: string, options?: glob.IOptions, data?: EntryData): this;
+ glob(pattern: string, options?: glob.IOptions, data?: Partial): this;
finalize(): Promise;
setFormat(format: string): this;
diff --git a/types/archiver/tsconfig.json b/types/archiver/tsconfig.json
index 71db696c82b0b52..3c52ff4889fb1be 100644
--- a/types/archiver/tsconfig.json
+++ b/types/archiver/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"archiver-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/archiver/tslint.json b/types/archiver/tslint.json
index 7bfbd50b5b28a56..f2a3d30eaf773ef 100644
--- a/types/archiver/tslint.json
+++ b/types/archiver/tslint.json
@@ -1,9 +1,7 @@
{
"extends": "dtslint/dt.json",
"rules": {
- // TODOs
"ban-types": false,
- "npm-naming": false,
"dt-header": false
}
-}
+}
\ No newline at end of file
diff --git a/types/archy/tsconfig.json b/types/archy/tsconfig.json
index d26c84998729d1e..2d429e53f4fe669 100644
--- a/types/archy/tsconfig.json
+++ b/types/archy/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -21,4 +21,4 @@
"index.d.ts",
"archy-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/archy/tslint.json b/types/archy/tslint.json
index 3d59f55fdabcf45..da4e4b8ad0deecf 100644
--- a/types/archy/tslint.json
+++ b/types/archy/tslint.json
@@ -1,80 +1,15 @@
{
"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,
- "npm-naming": 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
+ "unified-signatures": false
}
-}
+}
\ No newline at end of file
diff --git a/types/argparse/tsconfig.json b/types/argparse/tsconfig.json
index 9248f1d0783a8a0..728d663579ce07f 100644
--- a/types/argparse/tsconfig.json
+++ b/types/argparse/tsconfig.json
@@ -7,7 +7,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
diff --git a/types/argv/tsconfig.json b/types/argv/tsconfig.json
index 2a123030fa8385a..010ee9fc09c600b 100644
--- a/types/argv/tsconfig.json
+++ b/types/argv/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"argv-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/argv/tslint.json b/types/argv/tslint.json
index 3d59f55fdabcf45..5ebae7de5cbd32e 100644
--- a/types/argv/tslint.json
+++ b/types/argv/tslint.json
@@ -1,80 +1,14 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/array-foreach/tslint.json b/types/array-foreach/tslint.json
index 3d59f55fdabcf45..2c44f2e72dcfca3 100644
--- a/types/array-foreach/tslint.json
+++ b/types/array-foreach/tslint.json
@@ -1,80 +1,12 @@
{
"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,
- "npm-naming": 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
+ "prefer-method-signature": false
}
-}
+}
\ No newline at end of file
diff --git a/types/array-initial/array-initial-tests.ts b/types/array-initial/array-initial-tests.ts
new file mode 100644
index 000000000000000..fc6128b927b6412
--- /dev/null
+++ b/types/array-initial/array-initial-tests.ts
@@ -0,0 +1,3 @@
+import arrayInitial = require("array-initial");
+
+arrayInitial([1, 2, 3]); // $ExpectType number[]
diff --git a/types/array-initial/index.d.ts b/types/array-initial/index.d.ts
new file mode 100644
index 000000000000000..cef2dfd9f645b73
--- /dev/null
+++ b/types/array-initial/index.d.ts
@@ -0,0 +1,8 @@
+// Type definitions for array-initial 1.1
+// Project: https://github.com/jonschlinkert/array-initial
+// Definitions by: Richie Bendall
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+declare function arrayInitial(array: ArrayLike, drop?: number): T[];
+
+export = arrayInitial;
diff --git a/types/array-initial/tsconfig.json b/types/array-initial/tsconfig.json
new file mode 100644
index 000000000000000..5071efd39408b5f
--- /dev/null
+++ b/types/array-initial/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",
+ "array-initial-tests.ts"
+ ]
+}
diff --git a/types/hapi__cryptiles/tslint.json b/types/array-initial/tslint.json
similarity index 100%
rename from types/hapi__cryptiles/tslint.json
rename to types/array-initial/tslint.json
diff --git a/types/array-sort/tslint.json b/types/array-sort/tslint.json
index 3db14f85eaf7b98..d086f8e13f785e5 100644
--- a/types/array-sort/tslint.json
+++ b/types/array-sort/tslint.json
@@ -1 +1,17 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/types/array.prototype.flat/index.d.ts b/types/array.prototype.flat/index.d.ts
index 80cc366820af3fb..d98cf329b5c7c31 100644
--- a/types/array.prototype.flat/index.d.ts
+++ b/types/array.prototype.flat/index.d.ts
@@ -1,6 +1,7 @@
// Type definitions for array.prototype.flat 1.2
// Project: https://github.com/es-shims/Array.prototype.flat#readme
// Definitions by: Kyle Lin
+// Jordan Harband
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
diff --git a/types/array.prototype.flatmap/index.d.ts b/types/array.prototype.flatmap/index.d.ts
index 6bcc29f8b50eb99..fe3b53a914d8de6 100644
--- a/types/array.prototype.flatmap/index.d.ts
+++ b/types/array.prototype.flatmap/index.d.ts
@@ -1,6 +1,7 @@
// Type definitions for array.prototype.flatmap 1.2
// Project: https://github.com/es-shims/Array.prototype.flatMap#readme
// Definitions by: Jesse Hallett
+// Jordan Harband
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
diff --git a/types/asana/index.d.ts b/types/asana/index.d.ts
index 10488ef9ff359ca..acf0f8ec2e6851b 100644
--- a/types/asana/index.d.ts
+++ b/types/asana/index.d.ts
@@ -1,7 +1,8 @@
-// Type definitions for node-asana 0.14.0
+// Type definitions for node-asana 0.17.3
// Project: https://github.com/Asana/node-asana
// Definitions by: Qubo
// Tasyp
+// Filippo Sarzana
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2
import * as Promise from 'bluebird';
@@ -864,14 +865,14 @@ declare namespace asana {
resource_type: string;
resource_subtype: string;
}
-
+
interface EventSectionResource extends EventResource {
project: {
gid: string;
name: string;
};
}
-
+
type EventProject = EventResource & Partial;
type EventSection = EventSectionResource & Partial;
type EventStory = EventResource & Partial;
@@ -1948,6 +1949,12 @@ declare namespace asana {
interface Type extends Resource {
created_at: string;
}
+
+ interface SectionsParams {
+ task: number | string;
+ insert_after?: string;
+ insert_before?: string;
+ }
}
var Sections: SectionsStatic;
@@ -1970,6 +1977,18 @@ declare namespace asana {
* @return {Promise} The requested resource
*/
findById(section: string | number, params?: Params, dispatchOptions?: any): Promise;
+
+ /**
+ * * Adds the specified task to a specific section of project. Returns empty object.
+ * @param {String} section The section to add task to.
+ * @param {Object} data Data for the request
+ * @param {String} data.task The id of task to be added to specified section.
+ * @param {String} data.insert_after An existing task within this section after which the added task should be inserted. Cannot be provided together with insert_before.
+ * @param {String} data.insert_before An existing task within this section before which the added task should be inserted. Cannot be provided together with insert_after.
+ * @param {Object} [dispatchOptions] Options, if any, to pass the dispatcher for the request
+ * @return {Promise} The response from the API
+ */
+ addTask(section: string | number, data: Sections.SectionsParams, dispatchOptions?: any): Promise<{}>;
}
interface TeamsStatic {
@@ -2647,4 +2666,4 @@ declare namespace asana {
var VERSION: string;
}
-export = asana;
\ No newline at end of file
+export = asana;
diff --git a/types/asana/tslint.json b/types/asana/tslint.json
index 3d59f55fdabcf45..2412d085a8e1725 100644
--- a/types/asana/tslint.json
+++ b/types/asana/tslint.json
@@ -1,80 +1,25 @@
{
"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,
- "npm-naming": 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-trailing-whitespace": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/asciify/tsconfig.json b/types/asciify/tsconfig.json
index 5f84d92e80d494a..bf1bd388082dd1a 100644
--- a/types/asciify/tsconfig.json
+++ b/types/asciify/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"asciify-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/asciify/tslint.json b/types/asciify/tslint.json
index 3d59f55fdabcf45..4abd54e66d14f0e 100644
--- a/types/asciify/tslint.json
+++ b/types/asciify/tslint.json
@@ -1,80 +1,19 @@
{
"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,
- "npm-naming": 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
}
-}
+}
\ No newline at end of file
diff --git a/types/asn1js/tslint.json b/types/asn1js/tslint.json
index 3d59f55fdabcf45..a98f5a184f9af30 100644
--- a/types/asn1js/tslint.json
+++ b/types/asn1js/tslint.json
@@ -1,80 +1,22 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/aspnet-identity-pw/tslint.json b/types/aspnet-identity-pw/tslint.json
index 3d59f55fdabcf45..89f180219b6b1ab 100644
--- a/types/aspnet-identity-pw/tslint.json
+++ b/types/aspnet-identity-pw/tslint.json
@@ -1,80 +1,16 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/assert-plus/tslint.json b/types/assert-plus/tslint.json
index 3db14f85eaf7b98..d086f8e13f785e5 100644
--- a/types/assert-plus/tslint.json
+++ b/types/assert-plus/tslint.json
@@ -1 +1,17 @@
-{ "extends": "dtslint/dt.json" }
+{
+ "extends": "dtslint/dt.json",
+ "rules": {
+ "npm-naming": [
+ true,
+ {
+ "errors": [
+ [
+ "NeedsExportEquals",
+ false
+ ]
+ ],
+ "mode": "code"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/types/assert/assert-tests.ts b/types/assert/assert-tests.ts
index 3f795f055275e92..a2ebffefea143f5 100644
--- a/types/assert/assert-tests.ts
+++ b/types/assert/assert-tests.ts
@@ -2,10 +2,14 @@ import * as assert from 'assert';
assert(true, "it's working");
-assert.ok(true, "inner functions work as well");
+assert.ok(true, 'inner functions work as well');
assert.throws(() => {});
assert.throws(() => {}, /Regex test/);
-assert.throws(() => {}, () => {}, "works wonderfully");
+assert.throws(
+ () => {},
+ () => {},
+ 'works wonderfully',
+);
-assert['fail'](true, true, "works like a charm");
+assert['fail'](true, true, 'works like a charm');
diff --git a/types/assert/index.d.ts b/types/assert/index.d.ts
index f436b7b4fd9dfa9..9ae05ce63fd2568 100644
--- a/types/assert/index.d.ts
+++ b/types/assert/index.d.ts
@@ -2,6 +2,7 @@
// Project: https://github.com/browserify/commonjs-assert, https://github.com/defunctzombie/commonjs-assert
// Definitions by: Nico Gallinal
// Linus Unnebäck
+// ExE Boss
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare function assert(value: any, message?: string): void;
@@ -29,7 +30,11 @@ declare namespace assert {
function throws(block: () => void, error: (() => void) | ((err: any) => boolean) | RegExp, message?: string): void;
function doesNotThrow(block: () => void, message?: string): void;
- function doesNotThrow(block: () => void, error: (() => void) | ((err: any) => boolean) | RegExp, message?: string): void;
+ function doesNotThrow(
+ block: () => void,
+ error: (() => void) | ((err: any) => boolean) | RegExp,
+ message?: string,
+ ): void;
function ifError(value: any): void;
@@ -41,7 +46,13 @@ declare namespace assert {
operator: string;
generatedMessage: boolean;
- constructor(options?: { message?: string; actual?: any; expected?: any; operator?: string; stackStartFunction?: () => void });
+ constructor(options?: {
+ message?: string;
+ actual?: any;
+ expected?: any;
+ operator?: string;
+ stackStartFunction?: () => void;
+ });
}
}
diff --git a/types/assert/package.json b/types/assert/package.json
new file mode 100644
index 000000000000000..f28600648d12e9e
--- /dev/null
+++ b/types/assert/package.json
@@ -0,0 +1,7 @@
+{
+ "private": true,
+ "types": "index",
+ "typesVersions": {
+ ">=3.7.0-0": { "*": ["ts3.7/*"] }
+ }
+}
diff --git a/types/assert/ts3.7/assert-tests.ts b/types/assert/ts3.7/assert-tests.ts
new file mode 100644
index 000000000000000..983748c1fdb6f72
--- /dev/null
+++ b/types/assert/ts3.7/assert-tests.ts
@@ -0,0 +1,59 @@
+import * as assert from 'assert';
+
+assert(true, "it's working");
+
+assert.ok(true, 'inner functions work as well');
+
+assert.throws(() => {});
+assert.throws(() => {}, /Regex test/);
+assert.throws(
+ () => {},
+ () => {},
+ 'works wonderfully',
+);
+
+assert['fail'](true, true, 'works like a charm');
+
+{
+ const a = null as any;
+ assert.ifError(a);
+ a; // $ExpectType null | undefined
+}
+
+{
+ const a = true as boolean;
+ assert(a);
+ a; // $ExpectType true
+}
+
+{
+ // tslint:disable-next-line: no-null-undefined-union
+ const a = 13 as number | null | undefined;
+ assert(a);
+ a; // $ExpectType number
+}
+
+{
+ const a = true as boolean;
+ assert.ok(a);
+ a; // $ExpectType true
+}
+
+{
+ // tslint:disable-next-line: no-null-undefined-union
+ const a = 13 as number | null | undefined;
+ assert.ok(a);
+ a; // $ExpectType number
+}
+
+{
+ const a = 'test' as any;
+ assert.strictEqual(a, 'test');
+ a; // $ExpectType string
+}
+
+{
+ const a = { b: 2 } as any;
+ assert.deepStrictEqual(a, { b: 2 });
+ a; // $ExpectType { b: number; }
+}
diff --git a/types/assert/ts3.7/index.d.ts b/types/assert/ts3.7/index.d.ts
new file mode 100644
index 000000000000000..2e62d81566841a6
--- /dev/null
+++ b/types/assert/ts3.7/index.d.ts
@@ -0,0 +1,58 @@
+declare function assert(value: any, message?: string): asserts value;
+
+declare namespace assert {
+ function fail(actual?: any, expected?: any, message?: string, operator?: string): void;
+
+ function ok(value: any, message?: string): asserts value;
+
+ /** @deprecated Use `strictEqual` instead */
+ function equal(actual: any, expected: any, message?: string): void;
+
+ /** @deprecated Use `notStrictEqual` instead */
+ function notEqual(actual: any, expected: any, message?: string): void;
+
+ /** @deprecated Use `deepStrictEqual` instead */
+ function deepEqual(actual: any, expected: any, message?: string): void;
+
+ /** @deprecated Use `notDeepStrictEqual` instead */
+ function notDeepEqual(actual: any, expected: any, message?: string): void;
+
+ function deepStrictEqual(actual: any, expected: T, message?: string): asserts actual is T;
+
+ function notDeepStrictEqual(actual: any, expected: any, message?: string): void;
+
+ function strictEqual(actual: any, expected: T, message?: string): asserts actual is T;
+
+ function notStrictEqual(actual: any, expected: any, message?: string): void;
+
+ function throws(block: () => void, message?: string): void;
+ function throws(block: () => void, error: (() => void) | ((err: any) => boolean) | RegExp, message?: string): void;
+
+ function doesNotThrow(block: () => void, message?: string): void;
+ function doesNotThrow(
+ block: () => void,
+ error: (() => void) | ((err: any) => boolean) | RegExp,
+ message?: string,
+ ): void;
+
+ function ifError(value: any): asserts value is null | undefined;
+
+ class AssertionError implements Error {
+ name: string;
+ message: string;
+ actual: any;
+ expected: any;
+ operator: string;
+ generatedMessage: boolean;
+
+ constructor(options?: {
+ message?: string;
+ actual?: any;
+ expected?: any;
+ operator?: string;
+ stackStartFunction?: () => void;
+ });
+ }
+}
+
+export = assert;
diff --git a/types/assert/ts3.7/tsconfig.json b/types/assert/ts3.7/tsconfig.json
new file mode 100644
index 000000000000000..98c4f2a3e203678
--- /dev/null
+++ b/types/assert/ts3.7/tsconfig.json
@@ -0,0 +1,19 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": ["es2015"],
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "baseUrl": "../../",
+ "typeRoots": ["../../"],
+ "types": [],
+ "noEmit": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "assert-tests.ts",
+ "index.d.ts"
+ ]
+}
diff --git a/types/hapi__hoek/tslint.json b/types/assert/ts3.7/tslint.json
similarity index 100%
rename from types/hapi__hoek/tslint.json
rename to types/assert/ts3.7/tslint.json
diff --git a/types/assert/tsconfig.json b/types/assert/tsconfig.json
index 5ab217b2abd1b04..e2f4f88baaa6a8b 100644
--- a/types/assert/tsconfig.json
+++ b/types/assert/tsconfig.json
@@ -1,24 +1,19 @@
{
"compilerOptions": {
"module": "commonjs",
- "lib": [
- "es6",
- "dom"
- ],
+ "lib": ["es2015"],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
- "typeRoots": [
- "../"
- ],
+ "typeRoots": ["../"],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
- "index.d.ts",
- "assert-tests.ts"
+ "assert-tests.ts",
+ "index.d.ts"
]
}
diff --git a/types/assert/tslint.json b/types/assert/tslint.json
index f93cf8562ad24db..3db14f85eaf7b98 100644
--- a/types/assert/tslint.json
+++ b/types/assert/tslint.json
@@ -1,3 +1 @@
-{
- "extends": "dtslint/dt.json"
-}
+{ "extends": "dtslint/dt.json" }
diff --git a/types/assertsharp/tsconfig.json b/types/assertsharp/tsconfig.json
index bc2779726e7e0d6..0a1d07b43266e79 100644
--- a/types/assertsharp/tsconfig.json
+++ b/types/assertsharp/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"assertsharp-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/assertsharp/tslint.json b/types/assertsharp/tslint.json
index 3d59f55fdabcf45..23e6fe1e0135b83 100644
--- a/types/assertsharp/tslint.json
+++ b/types/assertsharp/tslint.json
@@ -1,80 +1,12 @@
{
"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,
- "npm-naming": 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
+ "prefer-method-signature": false
}
-}
+}
\ No newline at end of file
diff --git a/types/async-iterable-stream/async-iterable-stream-tests.ts b/types/async-iterable-stream/async-iterable-stream-tests.ts
new file mode 100644
index 000000000000000..2d46d3341ae52fd
--- /dev/null
+++ b/types/async-iterable-stream/async-iterable-stream-tests.ts
@@ -0,0 +1,56 @@
+import AsyncIterableStream = require('async-iterable-stream');
+
+// Simple, dummy implementation of the abstract class
+
+class DummyAsyncIterator {
+ async next() {
+ return { done: true, value: 'dummy' };
+ }
+
+ return() {
+ return {};
+ }
+}
+
+class DummyAsyncIterableStream extends AsyncIterableStream {
+ createAsyncIterator() {
+ return new DummyAsyncIterator();
+ }
+}
+
+// Actual tests
+
+const asyncIterableStream = new DummyAsyncIterableStream();
+
+// Consume data objects from consumableStream as they are written to the stream.
+(async () => {
+ // tslint:disable-next-line: await-promise Bug in tslint: https://github.com/palantir/tslint/issues/3997
+ for await (const data of asyncIterableStream) {
+ // $ExpectType string
+ data;
+ console.log(data);
+ }
+})();
+
+// Consume only the next data object which is written to the stream.
+(async () => {
+ // $ExpectType string
+ await asyncIterableStream.once();
+})();
+
+(async () => {
+ const asyncIterable = asyncIterableStream.createAsyncIterable(20);
+ for await (const data of asyncIterable) {
+ // $ExpectType string
+ data;
+ }
+})();
+
+(async () => {
+ const result = await asyncIterableStream.next();
+
+ if (!result.done) {
+ // $ExpectType string
+ result.value;
+ }
+})();
diff --git a/types/async-iterable-stream/index.d.ts b/types/async-iterable-stream/index.d.ts
new file mode 100644
index 000000000000000..1ed8c7ba2e2f0f1
--- /dev/null
+++ b/types/async-iterable-stream/index.d.ts
@@ -0,0 +1,23 @@
+// Type definitions for async-iterable-stream 3.0
+// Project: https://github.com/SocketCluster/async-iterable-stream
+// Definitions by: Daniel Rose
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+///
+
+declare abstract class AsyncIterableStream implements AsyncIterator, AsyncIterable {
+ next(timeout?: number): Promise>;
+ once(timeout?: number): Promise;
+ abstract createAsyncIterator(timeout?: number): AsyncIterableStream.AsyncIterator;
+ createAsyncIterable(timeout?: number): AsyncIterable;
+ [Symbol.asyncIterator](): AsyncIterator;
+}
+
+export = AsyncIterableStream;
+
+declare namespace AsyncIterableStream {
+ interface AsyncIterator {
+ next(): Promise>;
+ return(): void;
+ }
+}
diff --git a/types/async-iterable-stream/tsconfig.json b/types/async-iterable-stream/tsconfig.json
new file mode 100644
index 000000000000000..90906b8ae389446
--- /dev/null
+++ b/types/async-iterable-stream/tsconfig.json
@@ -0,0 +1,24 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": [
+ "es6",
+ "esnext.asynciterable"
+ ],
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "baseUrl": "../",
+ "typeRoots": [
+ "../"
+ ],
+ "types": [],
+ "noEmit": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "index.d.ts",
+ "async-iterable-stream-tests.ts"
+ ]
+}
diff --git a/types/roads/tslint.json b/types/async-iterable-stream/tslint.json
similarity index 100%
rename from types/roads/tslint.json
rename to types/async-iterable-stream/tslint.json
diff --git a/types/async-lock/tsconfig.json b/types/async-lock/tsconfig.json
index 1bc997ef73995b8..78576faa5f22b5a 100644
--- a/types/async-lock/tsconfig.json
+++ b/types/async-lock/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"async-lock-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/async-polling/tslint.json b/types/async-polling/tslint.json
index 3d59f55fdabcf45..b9efc3ebd53b703 100644
--- a/types/async-polling/tslint.json
+++ b/types/async-polling/tslint.json
@@ -1,80 +1,16 @@
{
"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,
- "npm-naming": 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
+ "strict-export-declare-modifiers": false
}
-}
+}
\ No newline at end of file
diff --git a/types/async-stream-emitter/async-stream-emitter-tests.ts b/types/async-stream-emitter/async-stream-emitter-tests.ts
new file mode 100644
index 000000000000000..80eb24459d9c683
--- /dev/null
+++ b/types/async-stream-emitter/async-stream-emitter-tests.ts
@@ -0,0 +1,34 @@
+import AsyncStreamEmitter = require('async-stream-emitter');
+
+// From README.md
+
+const emitter = new AsyncStreamEmitter();
+
+(async () => {
+ await wait(10);
+ emitter.emit('foo', 'hello');
+
+ // This will cause all for-await-of loops for that event to exit.
+ // Note that you can also use the 'break' statement inside
+ // individual for-await-of loops.
+ emitter.closeListener('foo');
+})();
+
+(async () => {
+ // tslint:disable-next-line: await-promise Bug in tslint: https://github.com/palantir/tslint/issues/3997
+ for await (const data of emitter.listener('foo')) {
+ // data is 'hello'
+ // $ExpectType string
+ data;
+ }
+ console.log('The listener was closed.');
+})();
+
+// Utility function.
+function wait(duration: number) {
+ return new Promise(resolve => {
+ setTimeout(() => {
+ resolve();
+ }, duration);
+ });
+}
diff --git a/types/async-stream-emitter/index.d.ts b/types/async-stream-emitter/index.d.ts
new file mode 100644
index 000000000000000..7f86310a823bfdc
--- /dev/null
+++ b/types/async-stream-emitter/index.d.ts
@@ -0,0 +1,33 @@
+// Type definitions for async-stream-emitter 3.0
+// Project: https://github.com/SocketCluster/async-stream-emitter
+// Definitions by: Daniel Rose
+// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
+
+import ConsumableStream = require('consumable-stream');
+import Consumer = require('writable-consumable-stream/consumer');
+
+declare class AsyncStreamEmitter {
+ emit(eventName: string, data: T): void;
+
+ listener(eventName: string): ConsumableStream;
+
+ closeListener(eventName: string): void;
+ closeAllListeners(): void;
+
+ getListenerConsumerStats(consumerId: number): Consumer.ConsumerStats;
+ getListenerConsumerStatsList(eventName: string): Consumer.ConsumerStats[];
+ getAllListenersConsumerStatsList(): Consumer.ConsumerStats[];
+
+ killListener(eventName: string): void;
+ killAllListeners(): void;
+ killListenerConsumer(consumerId: number): void;
+
+ getListenerBackpressure(eventName: string): number;
+ getAllListenersBackpressure(): number;
+ getListenerConsumerBackpressure(consumerId: number): number;
+
+ hasListenerConsumer(eventName: string, consumerId: number): boolean;
+ hasAnyListenerConsumer(consumerId: number): boolean;
+}
+
+export = AsyncStreamEmitter;
diff --git a/types/async-stream-emitter/tsconfig.json b/types/async-stream-emitter/tsconfig.json
new file mode 100644
index 000000000000000..f10703e5407800a
--- /dev/null
+++ b/types/async-stream-emitter/tsconfig.json
@@ -0,0 +1,24 @@
+{
+ "compilerOptions": {
+ "module": "commonjs",
+ "lib": [
+ "es6",
+ "esnext.asynciterable"
+ ],
+ "noImplicitAny": true,
+ "noImplicitThis": true,
+ "strictNullChecks": true,
+ "strictFunctionTypes": true,
+ "baseUrl": "../",
+ "typeRoots": [
+ "../"
+ ],
+ "types": [],
+ "noEmit": true,
+ "forceConsistentCasingInFileNames": true
+ },
+ "files": [
+ "index.d.ts",
+ "async-stream-emitter-tests.ts"
+ ]
+}
diff --git a/types/async-stream-emitter/tslint.json b/types/async-stream-emitter/tslint.json
new file mode 100644
index 000000000000000..f93cf8562ad24db
--- /dev/null
+++ b/types/async-stream-emitter/tslint.json
@@ -0,0 +1,3 @@
+{
+ "extends": "dtslint/dt.json"
+}
diff --git a/types/async-writer/tsconfig.json b/types/async-writer/tsconfig.json
index 2b8771e48cdbf63..d6fc6f73bd81cd3 100644
--- a/types/async-writer/tsconfig.json
+++ b/types/async-writer/tsconfig.json
@@ -6,7 +6,7 @@
],
"noImplicitAny": true,
"noImplicitThis": true,
- "strictNullChecks": false,
+ "strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
@@ -20,4 +20,4 @@
"index.d.ts",
"async-writer-tests.ts"
]
-}
\ No newline at end of file
+}
diff --git a/types/async-writer/tslint.json b/types/async-writer/tslint.json
index 3d59f55fdabcf45..d5c66b34b823901 100644
--- a/types/async-writer/tslint.json
+++ b/types/async-writer/tslint.json
@@ -1,80 +1,16 @@
{
"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,
- "npm-naming": 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
+ "trim-file": false
}
-}
+}
\ No newline at end of file
diff --git a/types/async/index.d.ts b/types/async/index.d.ts
index b471baf2eeb3964..adc37e01b9e4ada 100644
--- a/types/async/index.d.ts
+++ b/types/async/index.d.ts
@@ -106,7 +106,12 @@ export interface AsyncCargo {
push(task: any, callback?: Function): void;
saturated(): void;
empty(): void;
- drain(): void;
+ /**
+ * a function that sets a callback that is called when the last item from the queue has returned from the worker.
+ * If the callback is omitted, q.drain() returns a promise for the next occurrence.
+ */
+ drain(): Promise;
+ drain(handler: () => void): void;
idle(): boolean;
pause(): void;
resume(): void;
@@ -114,15 +119,19 @@ export interface AsyncCargo {
}
// Collections
-export function each(arr: IterableCollection, iterator: AsyncIterator, callback?: ErrorCallback): void;
+export function each(arr: IterableCollection, iterator: AsyncIterator, callback: ErrorCallback): void;
+export function each(arr: IterableCollection, iterator: AsyncIterator): Promise;
export const eachSeries: typeof each;
-export function eachLimit(arr: IterableCollection, limit: number, iterator: AsyncIterator, callback?: ErrorCallback): void;
+export function eachLimit(arr: IterableCollection, limit: number, iterator: AsyncIterator, callback: ErrorCallback): void;
+export function eachLimit(arr: IterableCollection, limit: number, iterator: AsyncIterator): Promise;
export const forEach: typeof each;
export const forEachSeries: typeof each;
export const forEachLimit: typeof eachLimit;
-export function forEachOf(obj: IterableCollection, iterator: AsyncForEachOfIterator, callback?: ErrorCallback): void;
+export function forEachOf(obj: IterableCollection, iterator: AsyncForEachOfIterator, callback: ErrorCallback): void;
+export function forEachOf(obj: IterableCollection, iterator: AsyncForEachOfIterator): Promise;
export const forEachOfSeries: typeof forEachOf;
-export function forEachOfLimit(obj: IterableCollection, limit: number, iterator: AsyncForEachOfIterator, callback?: ErrorCallback): void;
+export function forEachOfLimit(obj: IterableCollection, limit: number, iterator: AsyncForEachOfIterator, callback: ErrorCallback): void;
+export function forEachOfLimit(obj: IterableCollection, limit: number, iterator: AsyncForEachOfIterator): Promise;
export const eachOf: typeof forEachOf;
export const eachOfSeries: typeof forEachOf;
export const eachOfLimit: typeof forEachOfLimit;
@@ -147,9 +156,11 @@ export function mapValuesLimit(
export function mapValues(obj: Dictionary, iteratee: (value: T, key: string, callback: AsyncResultCallback) => void, callback: AsyncResultObjectCallback): void;
export function mapValues(obj: Dictionary, iteratee: (value: T, key: string, callback: AsyncResultCallback) => void): Promise;
export const mapValuesSeries: typeof mapValues;
-export function filter(arr: IterableCollection, iterator: AsyncBooleanIterator, callback?: AsyncResultArrayCallback): void;
+export function filter(arr: IterableCollection, iterator: AsyncBooleanIterator, callback: AsyncResultArrayCallback): void;
+export function filter(arr: IterableCollection, iterator: AsyncBooleanIterator): Promise;
export const filterSeries: typeof filter;
-export function filterLimit(arr: IterableCollection, limit: number, iterator: AsyncBooleanIterator, callback?: AsyncResultArrayCallback): void;
+export function filterLimit(arr: IterableCollection, limit: number, iterator: AsyncBooleanIterator, callback: AsyncResultArrayCallback): void;
+export function filterLimit(arr: IterableCollection, limit: number, iterator: AsyncBooleanIterator): Promise;
export const select: typeof filter;
export const selectSeries: typeof filter;
export const selectLimit: typeof filterLimit;
@@ -213,14 +224,26 @@ export function auto, E = Error>(tasks: AsyncAutoTasks
export function autoInject(tasks: any, callback?: AsyncResultCallback): void;
export function retry(
- opts: number | {
- times: number,
- interval: number | ((retryCount: number) => number),
- errorFilter?: (error: Error) => boolean
- },
- task: (callback: AsyncResultCallback, results: any) => void,
- callback: AsyncResultCallback
- ): void;
+ opts?:
+ | number
+ | {
+ times?: number;
+ interval?: number | ((retryCount: number) => number);
+ errorFilter?: (error: Error) => boolean;
+ },
+ task?: (callback: AsyncResultCallback, results: any) => void,
+): Promise;
+export function retry(
+ opts?:
+ | number
+ | {
+ times?: number;
+ interval?: number | ((retryCount: number) => number);
+ errorFilter?: (error: Error) => boolean;
+ },
+ task?: (callback: AsyncResultCallback, results: any) => void,
+ callback?: AsyncResultCallback,
+): void;
export function retryable(opts: number | {times: number, interval: number}, task: AsyncFunction): AsyncFunction;
export function apply(fn: Function, ...args: any[]): AsyncFunction;
@@ -233,9 +256,11 @@ export function reflectAll(tasks: Array>): Arr
export function timeout(fn: AsyncFunction, milliseconds: number, info?: any): AsyncFunction;
export function timeout(fn: AsyncResultIterator, milliseconds: number, info?: any): AsyncResultIterator;
-export function times(n: number, iterator: AsyncResultIterator, callback: AsyncResultArrayCallback): void;
-export function timesSeries(n: number, iterator: AsyncResultIterator, callback: AsyncResultArrayCallback): void;
+export function times(n: number, iterator: AsyncResultIterator, callback: AsyncResultArrayCallback): void;
+export function times(n: number, iterator: AsyncResultIterator): Promise;
+export const timesSeries: typeof times;
export function timesLimit(n: number, limit: number, iterator: AsyncResultIterator, callback: AsyncResultArrayCallback): void;
+export function timesLimit(n: number, limit: number, iterator: AsyncResultIterator): Promise;
export function transform(arr: T[], iteratee: (acc: R[], item: T, key: number, callback: (error?: E) => void) => void, callback?: AsyncResultArrayCallback): void;
export function transform(arr: T[], acc: R[], iteratee: (acc: R[], item: T, key: number, callback: (error?: E) => void) => void, callback?: AsyncResultArrayCallback): void;
diff --git a/types/async/test/index.ts b/types/async/test/index.ts
index 7516e491921b7ac..9569b768771adb5 100644
--- a/types/async/test/index.ts
+++ b/types/async/test/index.ts
@@ -256,6 +256,8 @@ const cargo = async.cargo((tasks, callback) => {
}
callback();
}, 2);
+cargo.drain(); // $ExpectType Promise
+cargo.drain(() => { console.log('done processing queue'); }); // $ExpectType void
// add some items
cargo.push({ name: 'foo' }, (err: Error) => { console.log('finished processing foo'); });
@@ -310,10 +312,31 @@ async.auto({
(err, results) => { console.log('finished auto'); }
);
-async.retry(3, (callback, results) => { }, (err, result) => { });
-async.retry({ times: 3, interval: 200 }, (callback, results) => { }, (err, result) => { });
-async.retry({ times: 3, interval: (retryCount) => 200 * retryCount }, (callback, results) => { }, (err, result) => { });
-async.retry({ times: 3, interval: 200, errorFilter: (err) => true }, (callback, results) => { }, (err, result) => { });
+async.retry(); // $ExpectType Promise
+async.retry(3); // $ExpectType Promise
+// $ExpectType Promise
+async.retry(
+ 3,
+ (callback, results) => {},
+);
+// $ExpectType void
+async.retry(
+ { times: 3, interval: 200 },
+ (callback, results) => {},
+ (err, result) => {},
+);
+// $ExpectType void
+async.retry(
+ { times: 3, interval: retryCount => 200 * retryCount },
+ (callback, results) => {},
+ (err, result) => {},
+);
+// $ExpectType void
+async.retry(
+ { times: 3, interval: 200, errorFilter: err => true },
+ (callback, results) => {},
+ (err, result) => {},
+);
async.parallel([
(callback: (err: Error, val: string) => void) => { },
diff --git a/types/async/tslint.json b/types/async/tslint.json
index 5612ed6657ca786..4a0c5408c66695e 100644
--- a/types/async/tslint.json
+++ b/types/async/tslint.json
@@ -1,8 +1,8 @@
{
"extends": "dtslint/dt.json",
"rules": {
- "ban-types": true, // PRODUCES ERRORS WHEN REMOVED
- "callable-types": false, // HAS ISSUES
- "no-unnecessary-generics": false // HAS ISSUES
+ "ban-types": false,
+ "callable-types": false,
+ "no-unnecessary-generics": false
}
-}
+}
\ No newline at end of file
diff --git a/types/asynciterator/index.d.ts b/types/asynciterator/index.d.ts
index 4fa18dc3a8754ea..0826d682ddf4851 100644
--- a/types/asynciterator/index.d.ts
+++ b/types/asynciterator/index.d.ts
@@ -8,7 +8,7 @@
import { EventEmitter } from "events";
-export abstract class AsyncIterator