diff --git a/types/react-relay/test/relay-hooks-tests.tsx b/types/react-relay/test/relay-hooks-tests.tsx
index 185c94eefd14d5..f9e45a908a0eb7 100644
--- a/types/react-relay/test/relay-hooks-tests.tsx
+++ b/types/react-relay/test/relay-hooks-tests.tsx
@@ -1,4 +1,4 @@
-import * as React from "react";
+import React from "react";
import {
EntryPoint,
EntryPointComponent,
diff --git a/types/react-router-navigation-core/react-router-navigation-core-tests.tsx b/types/react-router-navigation-core/react-router-navigation-core-tests.tsx
index 022a2f079565bf..9976c30daf37a9 100644
--- a/types/react-router-navigation-core/react-router-navigation-core-tests.tsx
+++ b/types/react-router-navigation-core/react-router-navigation-core-tests.tsx
@@ -1,4 +1,4 @@
-import * as React from "react";
+import React from "react";
import { View } from "react-native";
import { TabView } from "react-native-tab-view";
import { TabBarProps, TabProps } from "react-router-navigation";
diff --git a/types/react-scroll-into-view-if-needed/tsconfig.json b/types/react-scroll-into-view-if-needed/tsconfig.json
index 1ffcaec22bd349..fb083e9d0a4baa 100644
--- a/types/react-scroll-into-view-if-needed/tsconfig.json
+++ b/types/react-scroll-into-view-if-needed/tsconfig.json
@@ -12,7 +12,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/react-scroll-to-bottom/react-scroll-to-bottom-tests.tsx b/types/react-scroll-to-bottom/react-scroll-to-bottom-tests.tsx
index 7dabf88c693701..be6d45af029a71 100644
--- a/types/react-scroll-to-bottom/react-scroll-to-bottom-tests.tsx
+++ b/types/react-scroll-to-bottom/react-scroll-to-bottom-tests.tsx
@@ -1,4 +1,4 @@
-import * as React from "react";
+import React from "react";
import ScrollToBottom, {
FunctionContext,
ScrollOption,
diff --git a/types/react-slider/tsconfig.json b/types/react-slider/tsconfig.json
index 3e664dafd5b38c..c819afe72e964a 100644
--- a/types/react-slider/tsconfig.json
+++ b/types/react-slider/tsconfig.json
@@ -12,8 +12,7 @@
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "jsx": "react",
- "esModuleInterop": false
+ "jsx": "react"
},
"files": [
"index.d.ts",
diff --git a/types/react-sound/tsconfig.json b/types/react-sound/tsconfig.json
index 5e745bd47cbeeb..9b353dfe3eeb81 100644
--- a/types/react-sound/tsconfig.json
+++ b/types/react-sound/tsconfig.json
@@ -12,8 +12,7 @@
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "jsx": "react",
- "esModuleInterop": true
+ "jsx": "react"
},
"files": [
"index.d.ts",
diff --git a/types/react-star-rating-component/tsconfig.json b/types/react-star-rating-component/tsconfig.json
index d5115ac5d9a941..7e341824d57c3c 100644
--- a/types/react-star-rating-component/tsconfig.json
+++ b/types/react-star-rating-component/tsconfig.json
@@ -4,7 +4,6 @@
"lib": [
"es6"
],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
diff --git a/types/react-stars/tsconfig.json b/types/react-stars/tsconfig.json
index bf626dd95b30f0..21fa063f115fc3 100644
--- a/types/react-stars/tsconfig.json
+++ b/types/react-stars/tsconfig.json
@@ -4,7 +4,6 @@
"lib": [
"es6"
],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
diff --git a/types/react-stickynode/react-stickynode-tests.tsx b/types/react-stickynode/react-stickynode-tests.tsx
index a4313b093a0e36..f53d9597a2cb44 100644
--- a/types/react-stickynode/react-stickynode-tests.tsx
+++ b/types/react-stickynode/react-stickynode-tests.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
-import * as Sticky from "react-stickynode";
+import Sticky from "react-stickynode";
const StickyAllOptions: React.JSX.Element = (
-import type * as NodeStream from "stream";
+import NodeStream = require("stream");
declare class StringDecoder {
constructor(encoding?: BufferEncoding | string);
diff --git a/types/readmore-js/readmore-js-tests.ts b/types/readmore-js/readmore-js-tests.ts
index 04ef5721690e9f..9647c5f8827f7c 100644
--- a/types/readmore-js/readmore-js-tests.ts
+++ b/types/readmore-js/readmore-js-tests.ts
@@ -1,4 +1,4 @@
-import * as Readmore from "readmore-js";
+import Readmore from "readmore-js";
const options: Readmore.Options = {
speed: 100,
diff --git a/types/readmore-js/tsconfig.json b/types/readmore-js/tsconfig.json
index 5f286469405098..5bd758af8a00a8 100644
--- a/types/readmore-js/tsconfig.json
+++ b/types/readmore-js/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/rebass__grid/rebass__grid-tests.tsx b/types/rebass__grid/rebass__grid-tests.tsx
index b4f65695c4a75d..9c0d0c5fd3c23b 100644
--- a/types/rebass__grid/rebass__grid-tests.tsx
+++ b/types/rebass__grid/rebass__grid-tests.tsx
@@ -1,5 +1,5 @@
import { Box, Flex } from "@rebass/grid";
-import * as Emotion from "@rebass/grid/emotion";
+import Emotion from "@rebass/grid/emotion";
import * as React from "react";
const test = () => (
diff --git a/types/recaptcha2/recaptcha2-tests.ts b/types/recaptcha2/recaptcha2-tests.ts
index 6bc13004ed2eed..2b37fb4b23ff1c 100644
--- a/types/recaptcha2/recaptcha2-tests.ts
+++ b/types/recaptcha2/recaptcha2-tests.ts
@@ -1,4 +1,4 @@
-import * as reCAPTCHA from "recaptcha2";
+import reCAPTCHA from "recaptcha2";
const recaptcha = new reCAPTCHA({
siteKey: "your-site-key",
diff --git a/types/recaptcha2/tsconfig.json b/types/recaptcha2/tsconfig.json
index accb1234a4c9f2..de072ac3a590a8 100644
--- a/types/recaptcha2/tsconfig.json
+++ b/types/recaptcha2/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/recluster/tsconfig.json b/types/recluster/tsconfig.json
index d39f9d46e69f91..87bc80196d2010 100644
--- a/types/recluster/tsconfig.json
+++ b/types/recluster/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/recordrtc/tsconfig.json b/types/recordrtc/tsconfig.json
index 4aff116024a8ce..9bbd625c1723ef 100644
--- a/types/recordrtc/tsconfig.json
+++ b/types/recordrtc/tsconfig.json
@@ -11,7 +11,6 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"files": [
diff --git a/types/recurly__recurly-js/tsconfig.json b/types/recurly__recurly-js/tsconfig.json
index 07ccab5aa15c87..9b42844f463f4e 100644
--- a/types/recurly__recurly-js/tsconfig.json
+++ b/types/recurly__recurly-js/tsconfig.json
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"module": "node16",
- "esModuleInterop": true,
"lib": [
"es6",
"dom"
diff --git a/types/redis-rate-limiter/index.d.ts b/types/redis-rate-limiter/index.d.ts
index e68282bdd5f339..7b8bcdd4bbccb3 100644
--- a/types/redis-rate-limiter/index.d.ts
+++ b/types/redis-rate-limiter/index.d.ts
@@ -1,4 +1,4 @@
-import * as express from "express";
+import express = require("express");
import * as redis from "redis";
declare class RedisRateLimiter {
diff --git a/types/redlock/index.d.ts b/types/redlock/index.d.ts
index 3632db317e5b21..186d3e2691861a 100644
--- a/types/redlock/index.d.ts
+++ b/types/redlock/index.d.ts
@@ -1,4 +1,4 @@
-import * as Promise from "bluebird";
+import Promise = require("bluebird");
import { EventEmitter } from "events";
export = Redlock;
diff --git a/types/redlock/v2/index.d.ts b/types/redlock/v2/index.d.ts
index 835591c46d399a..fe3521f6c3de37 100644
--- a/types/redlock/v2/index.d.ts
+++ b/types/redlock/v2/index.d.ts
@@ -1,4 +1,4 @@
-import * as Promise from "bluebird";
+import Promise = require("bluebird");
import * as redis from "redis";
export = Redlock;
diff --git a/types/redlock/v3/index.d.ts b/types/redlock/v3/index.d.ts
index 032e20ee3a74e0..aa43ebc4ee6f67 100644
--- a/types/redlock/v3/index.d.ts
+++ b/types/redlock/v3/index.d.ts
@@ -1,4 +1,4 @@
-import * as Promise from "bluebird";
+import Promise = require("bluebird");
import { EventEmitter } from "events";
export = Redlock;
diff --git a/types/redux-form/redux-form-tests.tsx b/types/redux-form/redux-form-tests.tsx
index 34b0dcb744c136..e27aed0520a26e 100644
--- a/types/redux-form/redux-form-tests.tsx
+++ b/types/redux-form/redux-form-tests.tsx
@@ -1,4 +1,4 @@
-import * as React from "react";
+import React from "react";
import { Dispatch } from "redux";
import {
actionTypes,
diff --git a/types/redux-form/v7/redux-form-tests.tsx b/types/redux-form/v7/redux-form-tests.tsx
index deebf92098b94e..985ac42cd4746c 100644
--- a/types/redux-form/v7/redux-form-tests.tsx
+++ b/types/redux-form/v7/redux-form-tests.tsx
@@ -1,4 +1,4 @@
-import * as React from "react";
+import React from "react";
import { Action, Dispatch } from "redux";
import {
actionTypes,
diff --git a/types/reflexbox/reflexbox-tests.tsx b/types/reflexbox/reflexbox-tests.tsx
index 5e2920d1b31989..d530eb9b35dae7 100644
--- a/types/reflexbox/reflexbox-tests.tsx
+++ b/types/reflexbox/reflexbox-tests.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
import { Box, Flex } from "reflexbox";
-import * as Styled from "reflexbox/styled-components";
+import Styled from "reflexbox/styled-components";
const test = () => (
diff --git a/types/reflexbox/tsconfig.json b/types/reflexbox/tsconfig.json
index 7cc2364497159a..a5e04b9eb45725 100644
--- a/types/reflexbox/tsconfig.json
+++ b/types/reflexbox/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/regenerate/tsconfig.json b/types/regenerate/tsconfig.json
index 442b1c96614b0a..f62e4ae73e3780 100644
--- a/types/regenerate/tsconfig.json
+++ b/types/regenerate/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"test/regenerate.cjs.test.ts",
diff --git a/types/relay-test-utils/tsconfig.json b/types/relay-test-utils/tsconfig.json
index 66231afb46690f..0642cfea6e1019 100644
--- a/types/relay-test-utils/tsconfig.json
+++ b/types/relay-test-utils/tsconfig.json
@@ -18,7 +18,6 @@
"noEmit": true,
"jsx": "react",
"experimentalDecorators": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
}
}
diff --git a/types/rellax/tsconfig.json b/types/rellax/tsconfig.json
index 546901779f1d60..fd3c5b043d977a 100644
--- a/types/rellax/tsconfig.json
+++ b/types/rellax/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/remark-heading-id/tsconfig.json b/types/remark-heading-id/tsconfig.json
index 4ca196980657ba..948a21adb930cb 100644
--- a/types/remark-heading-id/tsconfig.json
+++ b/types/remark-heading-id/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "types": []
+ "types": [],
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/remark-hint/tsconfig.json b/types/remark-hint/tsconfig.json
index 84cb1157f09a25..77b66e24683c05 100644
--- a/types/remark-hint/tsconfig.json
+++ b/types/remark-hint/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "types": []
+ "types": [],
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/remark-oembed/tsconfig.json b/types/remark-oembed/tsconfig.json
index 2288789c96743f..b12a860bf05385 100644
--- a/types/remark-oembed/tsconfig.json
+++ b/types/remark-oembed/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/remark-prism/tsconfig.json b/types/remark-prism/tsconfig.json
index fc77504f6050db..8b1684153fda2a 100644
--- a/types/remark-prism/tsconfig.json
+++ b/types/remark-prism/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/repeating/tsconfig.json b/types/repeating/tsconfig.json
index 3c9bcb8b0ff5b3..41e1cdbdc59d36 100644
--- a/types/repeating/tsconfig.json
+++ b/types/repeating/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/reselect-tools/tsconfig.json b/types/reselect-tools/tsconfig.json
index e2d3e6698196d7..9ef43cffcb7cd8 100644
--- a/types/reselect-tools/tsconfig.json
+++ b/types/reselect-tools/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/resolve-bin/tsconfig.json b/types/resolve-bin/tsconfig.json
index ae90f4fc2d7ae1..9934b86bab1eaf 100644
--- a/types/resolve-bin/tsconfig.json
+++ b/types/resolve-bin/tsconfig.json
@@ -6,7 +6,6 @@
],
"target": "es6",
"noImplicitAny": true,
- "esModuleInterop": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
diff --git a/types/resolve-protobuf-schema/tsconfig.json b/types/resolve-protobuf-schema/tsconfig.json
index 8624df19a22954..3ed0a7bbba38a4 100644
--- a/types/resolve-protobuf-schema/tsconfig.json
+++ b/types/resolve-protobuf-schema/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/restify/restify-tests.ts b/types/restify/restify-tests.ts
index 481a8594f231f9..1fb81e17feb0f0 100644
--- a/types/restify/restify-tests.ts
+++ b/types/restify/restify-tests.ts
@@ -1,4 +1,4 @@
-import * as Logger from "bunyan";
+import Logger from "bunyan";
import * as http from "http";
import * as restify from "restify";
import * as stream from "stream";
diff --git a/types/restify/v5/restify-tests.ts b/types/restify/v5/restify-tests.ts
index d4f8850337a844..39b481135689a0 100644
--- a/types/restify/v5/restify-tests.ts
+++ b/types/restify/v5/restify-tests.ts
@@ -1,4 +1,4 @@
-import * as Logger from "bunyan";
+import Logger from "bunyan";
import * as http from "http";
import * as restify from "restify";
import * as stream from "stream";
diff --git a/types/restling/index.d.ts b/types/restling/index.d.ts
index b4ad7998f12ad3..cc231ebf3cca4f 100644
--- a/types/restling/index.d.ts
+++ b/types/restling/index.d.ts
@@ -1,4 +1,4 @@
-import * as Promise from "bluebird";
+import Promise = require("bluebird");
import { ServerResponse } from "http";
import * as Restler from "restler";
diff --git a/types/rethinkdb/rethinkdb-tests.ts b/types/rethinkdb/rethinkdb-tests.ts
index d65996dca30f08..bcd80eae6549ad 100644
--- a/types/rethinkdb/rethinkdb-tests.ts
+++ b/types/rethinkdb/rethinkdb-tests.ts
@@ -1,4 +1,4 @@
-import * as r from "rethinkdb";
+import r from "rethinkdb";
function errorAndCursorCallback(err: Error, cursor: r.Cursor): void {}
function cursorCallback(cursor: r.Cursor): void {}
diff --git a/types/right-align/tsconfig.json b/types/right-align/tsconfig.json
index 0ff85fdd64ef60..bf552e80dce3d5 100644
--- a/types/right-align/tsconfig.json
+++ b/types/right-align/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/riot-route/tsconfig.json b/types/riot-route/tsconfig.json
index 67422fe2b60bf3..814a2c61923038 100644
--- a/types/riot-route/tsconfig.json
+++ b/types/riot-route/tsconfig.json
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"module": "node16",
- "esModuleInterop": true,
"lib": [
"es6",
"dom"
diff --git a/types/rison/tsconfig.json b/types/rison/tsconfig.json
index 530671225c1653..4dfe48e9972853 100644
--- a/types/rison/tsconfig.json
+++ b/types/rison/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/rmc-drawer/index.d.ts b/types/rmc-drawer/index.d.ts
index 1a2c0c59666fb5..b0dd6292a72918 100644
--- a/types/rmc-drawer/index.d.ts
+++ b/types/rmc-drawer/index.d.ts
@@ -1,4 +1,4 @@
-import * as moment from "moment";
+import moment = require("moment");
import * as React from "react";
interface DrawerProps {
diff --git a/types/rmc-drawer/tsconfig.json b/types/rmc-drawer/tsconfig.json
index f234f29a0929a8..585960cff83bcc 100644
--- a/types/rmc-drawer/tsconfig.json
+++ b/types/rmc-drawer/tsconfig.json
@@ -11,7 +11,6 @@
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "esModuleInterop": true,
"jsx": "react"
},
"files": [
diff --git a/types/rn-app-upgrade/tsconfig.json b/types/rn-app-upgrade/tsconfig.json
index 6a1d523bed8390..376ceb62d64474 100644
--- a/types/rn-app-upgrade/tsconfig.json
+++ b/types/rn-app-upgrade/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/rollup-plugin-add-git-msg/tsconfig.json b/types/rollup-plugin-add-git-msg/tsconfig.json
index 672a45bb538b87..3996aa888c25ff 100644
--- a/types/rollup-plugin-add-git-msg/tsconfig.json
+++ b/types/rollup-plugin-add-git-msg/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/rollup-plugin-peer-deps-external/tsconfig.json b/types/rollup-plugin-peer-deps-external/tsconfig.json
index 06c5ce9557c397..37d9f2ef6a6fd1 100644
--- a/types/rollup-plugin-peer-deps-external/tsconfig.json
+++ b/types/rollup-plugin-peer-deps-external/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/ronilaukkarinen__gulp-stylelint/index.d.ts b/types/ronilaukkarinen__gulp-stylelint/index.d.ts
index 75949a89415122..3ad700fe829f32 100644
--- a/types/ronilaukkarinen__gulp-stylelint/index.d.ts
+++ b/types/ronilaukkarinen__gulp-stylelint/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as stylelint from "stylelint";
+import stylelint = require("stylelint");
interface GulpStylelint {
(options?: gulpStylelint.Options): NodeJS.ReadWriteStream;
diff --git a/types/root-check/tsconfig.json b/types/root-check/tsconfig.json
index aeb55833f92c24..e85205354ef655 100644
--- a/types/root-check/tsconfig.json
+++ b/types/root-check/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/route-cache/index.d.ts b/types/route-cache/index.d.ts
index 729f5791120d74..e541ef0109294f 100644
--- a/types/route-cache/index.d.ts
+++ b/types/route-cache/index.d.ts
@@ -1,4 +1,4 @@
-import * as express from "express";
+import express = require("express");
export function config(options: ConfigOptions): RouteCache;
export function cacheSeconds(secondsTTL: number, cacheKey?: string | CacheKeyFunc): express.RequestHandler;
diff --git a/types/route-cache/lruStore.d.ts b/types/route-cache/lruStore.d.ts
index 6a38c031e0c2e4..69e62429da4a40 100644
--- a/types/route-cache/lruStore.d.ts
+++ b/types/route-cache/lruStore.d.ts
@@ -1,4 +1,4 @@
-import * as LRUCache from "lru-cache";
+import LRUCache = require("lru-cache");
import { Store } from "./index";
export = LruStore;
diff --git a/types/route-cache/route-cache-tests.ts b/types/route-cache/route-cache-tests.ts
index 342feebc23ff71..6fb27641b64a2b 100644
--- a/types/route-cache/route-cache-tests.ts
+++ b/types/route-cache/route-cache-tests.ts
@@ -1,7 +1,7 @@
import routeCache = require("route-cache");
import IoRedisStore = require("route-cache/ioRedisStore");
import LruStore = require("route-cache/lruStore");
-import * as express from "express";
+import express from "express";
import Redis from "ioredis";
const redis = new Redis();
diff --git a/types/route-cache/tsconfig.json b/types/route-cache/tsconfig.json
index b00ab0545cb613..45a387b1e04d98 100644
--- a/types/route-cache/tsconfig.json
+++ b/types/route-cache/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/rrdiagram-js/rrdiagram-js-tests.ts b/types/rrdiagram-js/rrdiagram-js-tests.ts
index 6adf21d71b7352..ea993c4a09a7ec 100644
--- a/types/rrdiagram-js/rrdiagram-js-tests.ts
+++ b/types/rrdiagram-js/rrdiagram-js-tests.ts
@@ -1,4 +1,4 @@
-import * as RRDiagram from "rrdiagram-js";
+import RRDiagram from "rrdiagram-js";
const bnfDisplay = new RRDiagram.bnfdisplay.BNFDisplay();
bnfDisplay.replaceBNF("oldClassName", "newClassName"); // $ExpectType void
diff --git a/types/rsmq-worker/index.d.ts b/types/rsmq-worker/index.d.ts
index 2186426c1819b3..c892cc03bf8aec 100644
--- a/types/rsmq-worker/index.d.ts
+++ b/types/rsmq-worker/index.d.ts
@@ -3,7 +3,7 @@
import redis = require("redis");
import events = require("events");
-import * as RedisSMQ from "rsmq";
+import RedisSMQ = require("rsmq");
declare namespace RSMQWorker {
export interface Client extends events.EventEmitter {
diff --git a/types/rsocket-tcp-server/RSocketTCPServer.d.ts b/types/rsocket-tcp-server/RSocketTCPServer.d.ts
index fce7e6be7723c9..88dd80bbb79c6c 100644
--- a/types/rsocket-tcp-server/RSocketTCPServer.d.ts
+++ b/types/rsocket-tcp-server/RSocketTCPServer.d.ts
@@ -1,6 +1,6 @@
///
-import * as EventEmitter from "events";
+import EventEmitter = require("events");
import * as net from "net";
import { Encoders, TransportServer } from "rsocket-core";
import { Flowable } from "rsocket-flowable";
diff --git a/types/rsocket-websocket-server/RSocketWebSocketServer.d.ts b/types/rsocket-websocket-server/RSocketWebSocketServer.d.ts
index 7181c9542f2606..40e69461bf6a57 100644
--- a/types/rsocket-websocket-server/RSocketWebSocketServer.d.ts
+++ b/types/rsocket-websocket-server/RSocketWebSocketServer.d.ts
@@ -1,7 +1,7 @@
import { Encoders, TransportServer } from "rsocket-core";
import { Flowable } from "rsocket-flowable";
import { DuplexConnection } from "rsocket-types";
-import * as ws from "ws";
+import ws = require("ws");
/**
* A WebSocket transport server.
diff --git a/types/rx-angular/tsconfig.json b/types/rx-angular/tsconfig.json
index 46500fc20efd77..7c2cbe19e863e7 100644
--- a/types/rx-angular/tsconfig.json
+++ b/types/rx-angular/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/s3-download-stream/s3-download-stream-tests.ts b/types/s3-download-stream/s3-download-stream-tests.ts
index 1a58aa8f79ad6f..36d66ae7babecb 100644
--- a/types/s3-download-stream/s3-download-stream-tests.ts
+++ b/types/s3-download-stream/s3-download-stream-tests.ts
@@ -1,6 +1,6 @@
import * as AWS from "aws-sdk2-types";
import * as fs from "fs";
-import * as S3Stream from "s3-download-stream";
+import S3Stream from "s3-download-stream";
// Documentation for "params":
// http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#getObject-property
diff --git a/types/s3-download-stream/tsconfig.json b/types/s3-download-stream/tsconfig.json
index 70e66e616a7c20..fce37fbb23f83d 100644
--- a/types/s3-download-stream/tsconfig.json
+++ b/types/s3-download-stream/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/s3-upload-stream/index.d.ts b/types/s3-upload-stream/index.d.ts
index 9dd36d4fea791c..bf4411c75c300a 100644
--- a/types/s3-upload-stream/index.d.ts
+++ b/types/s3-upload-stream/index.d.ts
@@ -1,7 +1,7 @@
///
import * as AWS from "aws-sdk2-types";
-import * as stream from "stream";
+import stream = require("stream");
declare namespace s3Stream {
interface S3StreamUploader {
diff --git a/types/s3-zip/tsconfig.json b/types/s3-zip/tsconfig.json
index f81f4430f36790..d6e26a20335bad 100644
--- a/types/s3-zip/tsconfig.json
+++ b/types/s3-zip/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/sabpaisa-react-lite/tsconfig.json b/types/sabpaisa-react-lite/tsconfig.json
index 98f52485cffa30..8d21c29e02c7a2 100644
--- a/types/sabpaisa-react-lite/tsconfig.json
+++ b/types/sabpaisa-react-lite/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/sap__logging/sap__logging-tests.ts b/types/sap__logging/sap__logging-tests.ts
index 5292cc1c6f23ef..d9ab9a238fd839 100644
--- a/types/sap__logging/sap__logging-tests.ts
+++ b/types/sap__logging/sap__logging-tests.ts
@@ -1,5 +1,5 @@
import * as logging from "@sap/logging";
-import * as express from "express";
+import express from "express";
import * as http from "http";
import { Socket } from "net";
diff --git a/types/sap__logging/tsconfig.json b/types/sap__logging/tsconfig.json
index b336ca0291ca5a..f637f9cbc862dd 100644
--- a/types/sap__logging/tsconfig.json
+++ b/types/sap__logging/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/sass-loader/interfaces.d.ts b/types/sass-loader/interfaces.d.ts
index 35a7bbb9755f76..965464d2d13c5e 100644
--- a/types/sass-loader/interfaces.d.ts
+++ b/types/sass-loader/interfaces.d.ts
@@ -1,6 +1,6 @@
import * as NodeSass from "node-sass";
import * as Sass from "sass";
-import * as Webpack from "webpack";
+import Webpack = require("webpack");
export interface LoaderOptions {
/**
diff --git a/types/sass-loader/tsconfig.json b/types/sass-loader/tsconfig.json
index 1375c8089aaeaa..27a36d029e4bbc 100644
--- a/types/sass-loader/tsconfig.json
+++ b/types/sass-loader/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/save-csv/tsconfig.json b/types/save-csv/tsconfig.json
index 658a853c973f6f..a4e403c27fbbe3 100644
--- a/types/save-csv/tsconfig.json
+++ b/types/save-csv/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/save-pixels/index.d.ts b/types/save-pixels/index.d.ts
index 9c74d8dc0c0947..5504e05cef55b3 100644
--- a/types/save-pixels/index.d.ts
+++ b/types/save-pixels/index.d.ts
@@ -1,7 +1,7 @@
///
import { NdArray } from "ndarray";
-import * as Stream from "stream";
+import Stream = require("stream");
// Function overloads. Most types return a Stream, except 'canvas'. Quality option only available for
// JPEG format. See https://www.npmjs.com/package/save-pixels#requiresave-pixelsarray-type-options.
diff --git a/types/sc-hot-reboot/tsconfig.json b/types/sc-hot-reboot/tsconfig.json
index 7fcdebbcaae809..8f80743b3f0325 100644
--- a/types/sc-hot-reboot/tsconfig.json
+++ b/types/sc-hot-reboot/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/schwifty/index.d.ts b/types/schwifty/index.d.ts
index a8e8594bd77bd0..987f5dcae551a2 100644
--- a/types/schwifty/index.d.ts
+++ b/types/schwifty/index.d.ts
@@ -3,7 +3,7 @@
import { Plugin, Request, ResponseToolkit, Server } from "@hapi/hapi";
import * as Joi from "joi";
-import * as Knex from "knex";
+import Knex = require("knex");
import * as Objection from "objection";
export type ModelClass = typeof Model | typeof Objection.Model;
diff --git a/types/screeps/tsconfig.json b/types/screeps/tsconfig.json
index 88b47ceaa85acc..9deb22cf16732b 100644
--- a/types/screeps/tsconfig.json
+++ b/types/screeps/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/scrollmagic/tsconfig.json b/types/scrollmagic/tsconfig.json
index 92e5448f403f1e..63c101f269b1b4 100644
--- a/types/scrollmagic/tsconfig.json
+++ b/types/scrollmagic/tsconfig.json
@@ -9,7 +9,6 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": [],
"noEmit": true,
diff --git a/types/secure-random-string/tsconfig.json b/types/secure-random-string/tsconfig.json
index 070f2007d098f2..24698dd0bed696 100644
--- a/types/secure-random-string/tsconfig.json
+++ b/types/secure-random-string/tsconfig.json
@@ -10,7 +10,6 @@
"strictNullChecks": true,
"strictFunctionTypes": true,
"forceConsistentCasingInFileNames": true,
- "esModuleInterop": true,
"types": []
},
"files": [
diff --git a/types/secure-random/secure-random-tests.ts b/types/secure-random/secure-random-tests.ts
index 1c55a91e724c5a..be809e1d62f2a1 100644
--- a/types/secure-random/secure-random-tests.ts
+++ b/types/secure-random/secure-random-tests.ts
@@ -1,4 +1,4 @@
-import * as secureRandom from "secure-random";
+import secureRandom from "secure-random";
const byteCount = 10;
diff --git a/types/secure-random/tsconfig.json b/types/secure-random/tsconfig.json
index bb4d5085f25614..08c5150cd6f922 100644
--- a/types/secure-random/tsconfig.json
+++ b/types/secure-random/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/seed-random/seed-random-tests.ts b/types/seed-random/seed-random-tests.ts
index 127b888446a90b..a02a2ee74b9adc 100644
--- a/types/seed-random/seed-random-tests.ts
+++ b/types/seed-random/seed-random-tests.ts
@@ -1,7 +1,7 @@
///
-import * as assert from "assert";
-import * as seed from "seed-random";
+import assert from "assert";
+import seed from "seed-random";
const trueRandomA = seed();
const trueRandomB = seed();
diff --git a/types/seed-random/tsconfig.json b/types/seed-random/tsconfig.json
index cf21a86b23328a..1273884ca397f6 100644
--- a/types/seed-random/tsconfig.json
+++ b/types/seed-random/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/select/tsconfig.json b/types/select/tsconfig.json
index e61485a6647eb3..3d98cd6bdb14bf 100644
--- a/types/select/tsconfig.json
+++ b/types/select/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/selenium-webdriver/test/chrome.ts b/types/selenium-webdriver/test/chrome.ts
index 7c3337f6bddb5e..52bc9815c2fc6c 100644
--- a/types/selenium-webdriver/test/chrome.ts
+++ b/types/selenium-webdriver/test/chrome.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as chrome from "selenium-webdriver/chrome";
+import chrome from "selenium-webdriver/chrome";
async function TestChromeDriver() {
let driver: chrome.Driver = chrome.Driver.createSession();
diff --git a/types/selenium-webdriver/test/edge.ts b/types/selenium-webdriver/test/edge.ts
index c193c475e35451..e0f582dc5c47ee 100644
--- a/types/selenium-webdriver/test/edge.ts
+++ b/types/selenium-webdriver/test/edge.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as edge from "selenium-webdriver/edge";
+import edge from "selenium-webdriver/edge";
function TestEdgeDriver() {
let driver: edge.Driver = edge.Driver.createSession();
diff --git a/types/selenium-webdriver/test/firefox.ts b/types/selenium-webdriver/test/firefox.ts
index 4150f77235bb37..9ce993759fa195 100644
--- a/types/selenium-webdriver/test/firefox.ts
+++ b/types/selenium-webdriver/test/firefox.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as firefox from "selenium-webdriver/firefox";
+import firefox from "selenium-webdriver/firefox";
import * as http from "selenium-webdriver/http";
import * as remote from "selenium-webdriver/remote";
diff --git a/types/selenium-webdriver/test/ie.ts b/types/selenium-webdriver/test/ie.ts
index a5fba56da513b1..6349dd7c2f2fb4 100644
--- a/types/selenium-webdriver/test/ie.ts
+++ b/types/selenium-webdriver/test/ie.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as ie from "selenium-webdriver/ie";
+import ie from "selenium-webdriver/ie";
import * as remote from "selenium-webdriver/remote";
function TestIeDriver() {
diff --git a/types/selenium-webdriver/test/index.ts b/types/selenium-webdriver/test/index.ts
index 622cfcd2fa13ce..eae28e273b993a 100644
--- a/types/selenium-webdriver/test/index.ts
+++ b/types/selenium-webdriver/test/index.ts
@@ -1,15 +1,15 @@
import * as webdriver from "selenium-webdriver";
-import * as chrome from "selenium-webdriver/chrome";
+import chrome from "selenium-webdriver/chrome";
import { HttpResponse } from "selenium-webdriver/devtools/networkinterceptor";
-import * as edge from "selenium-webdriver/edge";
-import * as firefox from "selenium-webdriver/firefox";
+import edge from "selenium-webdriver/edge";
+import firefox from "selenium-webdriver/firefox";
import * as http from "selenium-webdriver/http";
-import * as ie from "selenium-webdriver/ie";
+import ie from "selenium-webdriver/ie";
import { PageLoadStrategy, Platform, UserPromptHandler } from "selenium-webdriver/lib/capabilities";
import { Command } from "selenium-webdriver/lib/command";
import Symbols from "selenium-webdriver/lib/symbols";
import { ShadowRoot, ShadowRootPromise } from "selenium-webdriver/lib/webdriver";
-import * as safari from "selenium-webdriver/safari";
+import safari from "selenium-webdriver/safari";
function TestBuilder() {
let builder: webdriver.Builder = new webdriver.Builder();
diff --git a/types/selenium-webdriver/v2/test/chrome.ts b/types/selenium-webdriver/v2/test/chrome.ts
index 733a93cb051200..bd3b9d66c7cab2 100644
--- a/types/selenium-webdriver/v2/test/chrome.ts
+++ b/types/selenium-webdriver/v2/test/chrome.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as chrome from "selenium-webdriver/chrome";
+import chrome from "selenium-webdriver/chrome";
import * as remote from "selenium-webdriver/remote";
function TestChromeDriver() {
diff --git a/types/selenium-webdriver/v2/test/firefox.ts b/types/selenium-webdriver/v2/test/firefox.ts
index 02ecc6babd8c0f..5a345bdd813112 100644
--- a/types/selenium-webdriver/v2/test/firefox.ts
+++ b/types/selenium-webdriver/v2/test/firefox.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as firefox from "selenium-webdriver/firefox";
+import firefox from "selenium-webdriver/firefox";
import * as remote from "selenium-webdriver/remote";
function TestBinary() {
diff --git a/types/selenium-webdriver/v2/test/index.ts b/types/selenium-webdriver/v2/test/index.ts
index 735ad64a377d47..78141dcd063b08 100644
--- a/types/selenium-webdriver/v2/test/index.ts
+++ b/types/selenium-webdriver/v2/test/index.ts
@@ -1,7 +1,7 @@
import * as webdriver from "selenium-webdriver";
-import * as chrome from "selenium-webdriver/chrome";
+import chrome from "selenium-webdriver/chrome";
import * as executors from "selenium-webdriver/executors";
-import * as firefox from "selenium-webdriver/firefox";
+import firefox from "selenium-webdriver/firefox";
import * as remote from "selenium-webdriver/remote";
import * as testing from "selenium-webdriver/testing";
diff --git a/types/selenium-webdriver/v3/test/chrome.ts b/types/selenium-webdriver/v3/test/chrome.ts
index ec1f2743d40801..ad01e1f409dc4b 100644
--- a/types/selenium-webdriver/v3/test/chrome.ts
+++ b/types/selenium-webdriver/v3/test/chrome.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as chrome from "selenium-webdriver/chrome";
+import chrome from "selenium-webdriver/chrome";
import * as remote from "selenium-webdriver/remote";
function TestChromeDriver() {
diff --git a/types/selenium-webdriver/v3/test/firefox.ts b/types/selenium-webdriver/v3/test/firefox.ts
index cf6281e5db8130..52a5ae7e30faa0 100644
--- a/types/selenium-webdriver/v3/test/firefox.ts
+++ b/types/selenium-webdriver/v3/test/firefox.ts
@@ -1,5 +1,5 @@
import * as webdriver from "selenium-webdriver";
-import * as firefox from "selenium-webdriver/firefox";
+import firefox from "selenium-webdriver/firefox";
import * as http from "selenium-webdriver/http";
import * as remote from "selenium-webdriver/remote";
diff --git a/types/selenium-webdriver/v3/test/index.ts b/types/selenium-webdriver/v3/test/index.ts
index 04ba2815cc898a..81efa4c89911a3 100644
--- a/types/selenium-webdriver/v3/test/index.ts
+++ b/types/selenium-webdriver/v3/test/index.ts
@@ -1,10 +1,10 @@
import * as webdriver from "selenium-webdriver";
-import * as chrome from "selenium-webdriver/chrome";
+import chrome from "selenium-webdriver/chrome";
import * as edge from "selenium-webdriver/edge";
-import * as firefox from "selenium-webdriver/firefox";
+import firefox from "selenium-webdriver/firefox";
import * as http from "selenium-webdriver/http";
import * as remote from "selenium-webdriver/remote";
-import * as safari from "selenium-webdriver/safari";
+import safari from "selenium-webdriver/safari";
import * as testing from "selenium-webdriver/testing";
function TestBuilder() {
diff --git a/types/send/index.d.ts b/types/send/index.d.ts
index 5d483dc8103ef2..c1f4014a9819e1 100644
--- a/types/send/index.d.ts
+++ b/types/send/index.d.ts
@@ -1,7 +1,7 @@
///
import * as fs from "fs";
-import * as stream from "stream";
+import stream = require("stream");
/**
* Create a new SendStream for the given path to send to a res.
diff --git a/types/send/v0/index.d.ts b/types/send/v0/index.d.ts
index 6d624bb61b8cad..7259486cc65df0 100644
--- a/types/send/v0/index.d.ts
+++ b/types/send/v0/index.d.ts
@@ -2,7 +2,7 @@
import * as fs from "fs";
import * as m from "mime";
-import * as stream from "stream";
+import stream = require("stream");
/**
* Create a new SendStream for the given path to send to a res.
diff --git a/types/sequelize-fixtures/index.d.ts b/types/sequelize-fixtures/index.d.ts
index b39b1bcdb81018..7f53bf76f98e24 100644
--- a/types/sequelize-fixtures/index.d.ts
+++ b/types/sequelize-fixtures/index.d.ts
@@ -1,4 +1,4 @@
-import * as Sequelize from "sequelize";
+import Sequelize = require("sequelize");
declare namespace SequelizeFixtures {
interface Options {
diff --git a/types/serve-favicon/serve-favicon-tests.ts b/types/serve-favicon/serve-favicon-tests.ts
index ab166d39d8670e..619bad1bd508aa 100644
--- a/types/serve-favicon/serve-favicon-tests.ts
+++ b/types/serve-favicon/serve-favicon-tests.ts
@@ -1,5 +1,5 @@
-import * as express from "express";
-import * as favicon from "serve-favicon";
+import express from "express";
+import favicon from "serve-favicon";
const app = express();
diff --git a/types/serve-favicon/tsconfig.json b/types/serve-favicon/tsconfig.json
index db64bae8f3f55f..51a21ac96bfb6d 100644
--- a/types/serve-favicon/tsconfig.json
+++ b/types/serve-favicon/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/serve-static/index.d.ts b/types/serve-static/index.d.ts
index 564909fdd9b07f..7ddb9b372d5ee0 100644
--- a/types/serve-static/index.d.ts
+++ b/types/serve-static/index.d.ts
@@ -1,7 +1,7 @@
///
import * as http from "http";
import { HttpError } from "http-errors";
-import * as send from "send";
+import send = require("send");
/**
* Create a new middleware function to serve files from within a given root directory.
diff --git a/types/serverless/tsconfig.json b/types/serverless/tsconfig.json
index c225a8c05d8946..8666dd5f69ba75 100644
--- a/types/serverless/tsconfig.json
+++ b/types/serverless/tsconfig.json
@@ -1,7 +1,6 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
- "esModuleInterop": true,
"module": "node16",
"lib": [
"es6"
diff --git a/types/servicenow/tsconfig.json b/types/servicenow/tsconfig.json
index 8dfe19f67d35b8..bcb29cd1d5cf33 100644
--- a/types/servicenow/tsconfig.json
+++ b/types/servicenow/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/serviceworker-webpack-plugin/serviceworker-webpack-plugin-tests.ts b/types/serviceworker-webpack-plugin/serviceworker-webpack-plugin-tests.ts
index 17bedcfaf470a7..17a413ed7d53e1 100644
--- a/types/serviceworker-webpack-plugin/serviceworker-webpack-plugin-tests.ts
+++ b/types/serviceworker-webpack-plugin/serviceworker-webpack-plugin-tests.ts
@@ -1,4 +1,4 @@
-import * as ServiceWorkerWebpackPlugin from "serviceworker-webpack-plugin";
+import ServiceWorkerWebpackPlugin from "serviceworker-webpack-plugin";
import runtime from "serviceworker-webpack-plugin/lib/runtime";
new ServiceWorkerWebpackPlugin({
diff --git a/types/serviceworker-webpack-plugin/tsconfig.json b/types/serviceworker-webpack-plugin/tsconfig.json
index 10035503893cac..800bade5ae5c20 100644
--- a/types/serviceworker-webpack-plugin/tsconfig.json
+++ b/types/serviceworker-webpack-plugin/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"dom",
"es6"
diff --git a/types/session-file-store/index.d.ts b/types/session-file-store/index.d.ts
index ad5a736a117730..d96021bfd4e079 100644
--- a/types/session-file-store/index.d.ts
+++ b/types/session-file-store/index.d.ts
@@ -1,5 +1,5 @@
-import * as express from "express";
-import * as session from "express-session";
+import express = require("express");
+import session = require("express-session");
export = f;
diff --git a/types/shallowequal/v0/shallowequal-tests.ts b/types/shallowequal/v0/shallowequal-tests.ts
index 738dc8002d294b..34eb838e81b4d1 100644
--- a/types/shallowequal/v0/shallowequal-tests.ts
+++ b/types/shallowequal/v0/shallowequal-tests.ts
@@ -1,5 +1,5 @@
import shallowEqual_require = require("shallowequal");
-import * as shallowEqual_splat from "shallowequal";
+import shallowEqual_splat from "shallowequal";
const a = {};
const b = {};
diff --git a/types/shallowequal/v0/tsconfig.json b/types/shallowequal/v0/tsconfig.json
index d0a28f83b17462..2d4324b50bc452 100644
--- a/types/shallowequal/v0/tsconfig.json
+++ b/types/shallowequal/v0/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/sharedb/sharedb-tests.ts b/types/sharedb/sharedb-tests.ts
index eb996e66c93b51..a741d9e9bf6e25 100644
--- a/types/sharedb/sharedb-tests.ts
+++ b/types/sharedb/sharedb-tests.ts
@@ -1,8 +1,8 @@
import * as http from "http";
-import * as ShareDB from "sharedb";
+import ShareDB from "sharedb";
import * as ShareDBClient from "sharedb/lib/client";
import { Duplex } from "stream";
-import * as WebSocket from "ws";
+import WebSocket from "ws";
import Agent = require("sharedb/lib/agent");
import * as ClientESM from "sharedb/lib/client/index.js";
diff --git a/types/sharedb/tsconfig.json b/types/sharedb/tsconfig.json
index c8efd9938902bc..f320065ae57a1b 100644
--- a/types/sharedb/tsconfig.json
+++ b/types/sharedb/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/sharepoint/sharepoint-tests.ts b/types/sharepoint/sharepoint-tests.ts
index 9f6ab8f5eba472..9739c6c60e5a98 100644
--- a/types/sharepoint/sharepoint-tests.ts
+++ b/types/sharepoint/sharepoint-tests.ts
@@ -2,7 +2,7 @@
///
import * as angular from "angular";
-import * as ng from "angular";
+import ng from "angular";
// code from http://sptypescript.codeplex.com/
// BasicTasksJSOM.ts
// Website tasks
diff --git a/types/should-sinon/index.d.ts b/types/should-sinon/index.d.ts
index 5dbb9f78a05b34..2ca9683389c474 100644
--- a/types/should-sinon/index.d.ts
+++ b/types/should-sinon/index.d.ts
@@ -1,4 +1,4 @@
-import * as s from "should";
+import s = require("should");
declare module "should" {
interface Assertion {
diff --git a/types/signale/tsconfig.json b/types/signale/tsconfig.json
index 1acb992fec242f..1490794dc4a42d 100644
--- a/types/signale/tsconfig.json
+++ b/types/signale/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/signalfx-collect/index.d.ts b/types/signalfx-collect/index.d.ts
index a0301a70599058..44f8077661016a 100644
--- a/types/signalfx-collect/index.d.ts
+++ b/types/signalfx-collect/index.d.ts
@@ -11,8 +11,8 @@
=============================================== */
-import * as express from "express";
-import * as koa from "koa";
+import express = require("express");
+import koa = require("koa");
import { SignalClient } from "signalfx";
declare class SignalFxCollect {
diff --git a/types/signalfx-collect/signalfx-collect-tests.ts b/types/signalfx-collect/signalfx-collect-tests.ts
index fa51e8d097384c..acdc63a7043bcd 100644
--- a/types/signalfx-collect/signalfx-collect-tests.ts
+++ b/types/signalfx-collect/signalfx-collect-tests.ts
@@ -1,7 +1,7 @@
-import * as express from "express";
+import express from "express";
const app = express();
-import * as SignalFxCollect from "signalfx-collect";
+import SignalFxCollect from "signalfx-collect";
const config1: SignalFxCollect.Config = {
accessToken: "MY_ACCESS_TOKEN",
diff --git a/types/signalfx-collect/tsconfig.json b/types/signalfx-collect/tsconfig.json
index 5593fb388e1325..26723b3ba7874a 100644
--- a/types/signalfx-collect/tsconfig.json
+++ b/types/signalfx-collect/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/signalr/tsconfig.json b/types/signalr/tsconfig.json
index c74b9697affe81..e21b43038a0683 100644
--- a/types/signalr/tsconfig.json
+++ b/types/signalr/tsconfig.json
@@ -15,6 +15,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
}
}
diff --git a/types/signalr/v1/tsconfig.json b/types/signalr/v1/tsconfig.json
index 8e6a18191824af..70237d1a083388 100644
--- a/types/signalr/v1/tsconfig.json
+++ b/types/signalr/v1/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/similarity/similarity-tests.ts b/types/similarity/similarity-tests.ts
index f3b3515ebf7975..9697764e174f80 100644
--- a/types/similarity/similarity-tests.ts
+++ b/types/similarity/similarity-tests.ts
@@ -1,4 +1,4 @@
-import * as similarity from "similarity";
+import similarity from "similarity";
// @ts-expect-error
similarity();
diff --git a/types/similarity/tsconfig.json b/types/similarity/tsconfig.json
index 2014c0ec27ca7f..6951c2d413895b 100644
--- a/types/similarity/tsconfig.json
+++ b/types/similarity/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"ES2015"
],
diff --git a/types/simple-peer/index.d.ts b/types/simple-peer/index.d.ts
index e1c68b4b1c98b8..c340aa1b606130 100644
--- a/types/simple-peer/index.d.ts
+++ b/types/simple-peer/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as stream from "stream";
+import stream = require("stream");
declare const SimplePeer: SimplePeer.SimplePeer;
diff --git a/types/simple-react-lightbox/simple-react-lightbox-tests.tsx b/types/simple-react-lightbox/simple-react-lightbox-tests.tsx
index 27c141eaea1813..35f19f2d2ff49c 100644
--- a/types/simple-react-lightbox/simple-react-lightbox-tests.tsx
+++ b/types/simple-react-lightbox/simple-react-lightbox-tests.tsx
@@ -1,4 +1,4 @@
-import * as React from "react";
+import React from "react";
import SimpleReactLightbox, { Elements, SRLWrapper, SRLWrapperOptions, useLightbox } from "simple-react-lightbox";
const elements: Elements = [
diff --git a/types/simple-websocket/tsconfig.json b/types/simple-websocket/tsconfig.json
index b0cb3062d4d357..eb759693a5ad64 100644
--- a/types/simple-websocket/tsconfig.json
+++ b/types/simple-websocket/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/simplecrawler/tsconfig.json b/types/simplecrawler/tsconfig.json
index 8044c3722ea0e7..847c07653387a0 100644
--- a/types/simplecrawler/tsconfig.json
+++ b/types/simplecrawler/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/simplemde/tsconfig.json b/types/simplemde/tsconfig.json
index b839bcf1b463f7..7d80df35eaf2f6 100644
--- a/types/simplemde/tsconfig.json
+++ b/types/simplemde/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/simulant/simulant-tests.ts b/types/simulant/simulant-tests.ts
index f72c3087103ba4..89a7fb5dc52360 100644
--- a/types/simulant/simulant-tests.ts
+++ b/types/simulant/simulant-tests.ts
@@ -1,4 +1,4 @@
-import * as simulant from "simulant";
+import simulant from "simulant";
simulant(window, "click"); // $ExpectType Event
simulant(window, "click", { foo: "bar" }); // $ExpectType Event
diff --git a/types/simulant/tsconfig.json b/types/simulant/tsconfig.json
index 6d760e7d2cec46..c7926b2acd6fe7 100644
--- a/types/simulant/tsconfig.json
+++ b/types/simulant/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/sinon-as-promised/tsconfig.json b/types/sinon-as-promised/tsconfig.json
index a2ad0ae7acc47b..97e9d4fe4f87f8 100644
--- a/types/sinon-as-promised/tsconfig.json
+++ b/types/sinon-as-promised/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/sinon-mongoose/tsconfig.json b/types/sinon-mongoose/tsconfig.json
index 6e4f3e28ee0ce2..b6c59669142e54 100644
--- a/types/sinon-mongoose/tsconfig.json
+++ b/types/sinon-mongoose/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/sizzle/tsconfig.json b/types/sizzle/tsconfig.json
index 658bf5dba7ae76..5b9f8be324ed88 100644
--- a/types/sizzle/tsconfig.json
+++ b/types/sizzle/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/slack-mock/index.d.ts b/types/slack-mock/index.d.ts
index fdb90c1be85e04..a8d105b2a3e181 100644
--- a/types/slack-mock/index.d.ts
+++ b/types/slack-mock/index.d.ts
@@ -1,7 +1,7 @@
import { IncomingHttpHeaders } from "http";
-import * as nock from "nock";
+import nock = require("nock");
import { Url } from "url";
-import * as WebSocket from "ws";
+import WebSocket = require("ws");
export = SlackMock;
diff --git a/types/slack-node/index.d.ts b/types/slack-node/index.d.ts
index 839347f8042bbc..c1445a7c4b9a32 100644
--- a/types/slack-node/index.d.ts
+++ b/types/slack-node/index.d.ts
@@ -1,4 +1,4 @@
-import * as request from "request";
+import request = require("request");
declare class Slack {
token: string;
diff --git a/types/smooth-scroll/tsconfig.json b/types/smooth-scroll/tsconfig.json
index 099e3e090e78c5..a970300d6ced9d 100644
--- a/types/smooth-scroll/tsconfig.json
+++ b/types/smooth-scroll/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/smpte-timecode/smpte-timecode-tests.ts b/types/smpte-timecode/smpte-timecode-tests.ts
index 9ebd7753edffb5..91b74c7a37661a 100644
--- a/types/smpte-timecode/smpte-timecode-tests.ts
+++ b/types/smpte-timecode/smpte-timecode-tests.ts
@@ -1,4 +1,4 @@
-import * as Timecode from "smpte-timecode";
+import Timecode from "smpte-timecode";
let t: Timecode.TimecodeInstance;
let t2: Timecode.TimecodeInstance;
diff --git a/types/smpte-timecode/tsconfig.json b/types/smpte-timecode/tsconfig.json
index d0a19d49de340c..10b89d1c5da75f 100644
--- a/types/smpte-timecode/tsconfig.json
+++ b/types/smpte-timecode/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/snapchat-lens-studio/tsconfig.json b/types/snapchat-lens-studio/tsconfig.json
index 72814c55b6a517..4b4cac6a494e2e 100644
--- a/types/snapchat-lens-studio/tsconfig.json
+++ b/types/snapchat-lens-studio/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/snapsvg/tsconfig.json b/types/snapsvg/tsconfig.json
index f44e8e5bd0ba2b..23bb0d028d091d 100644
--- a/types/snapsvg/tsconfig.json
+++ b/types/snapsvg/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/snuownd/tsconfig.json b/types/snuownd/tsconfig.json
index 4ba4ac9a673d45..c24bfde6263376 100644
--- a/types/snuownd/tsconfig.json
+++ b/types/snuownd/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/socketcluster/socketcluster-tests.ts b/types/socketcluster/socketcluster-tests.ts
index f23ebee22d19c4..980b4208df9510 100644
--- a/types/socketcluster/socketcluster-tests.ts
+++ b/types/socketcluster/socketcluster-tests.ts
@@ -3,7 +3,7 @@ import SocketCluster = require("socketcluster");
import { ChildProcess } from "child_process";
import { SCServer } from "socketcluster-server";
import path = require("path");
-import * as minimist from "minimist";
+import minimist from "minimist";
import * as scHotReboot from "sc-hot-reboot";
////////////////////////////////////////////////////
diff --git a/types/socketcluster/tsconfig.json b/types/socketcluster/tsconfig.json
index a8e9822ec2e4ee..057dad2621ff8a 100644
--- a/types/socketcluster/tsconfig.json
+++ b/types/socketcluster/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/sortablejs/plugins.d.ts b/types/sortablejs/plugins.d.ts
index b8920ca403b1c5..af3ecc14832259 100644
--- a/types/sortablejs/plugins.d.ts
+++ b/types/sortablejs/plugins.d.ts
@@ -1,4 +1,4 @@
-import * as Sortable from "./index";
+import Sortable = require("./index");
import { SortableEvent } from "./index";
declare class SortablePlugin {}
diff --git a/types/soundjs/tsconfig.json b/types/soundjs/tsconfig.json
index 4d31bb795ba6f9..465657e1816027 100644
--- a/types/soundjs/tsconfig.json
+++ b/types/soundjs/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/sparkpost/index.d.ts b/types/sparkpost/index.d.ts
index 40a6fe2661dec5..e3708c99cfdce8 100644
--- a/types/sparkpost/index.d.ts
+++ b/types/sparkpost/index.d.ts
@@ -1,7 +1,7 @@
///
import * as Http from "http";
-import * as Request from "request";
+import Request = require("request");
declare class SparkPost {
/** Specifying an inbound domain enables you to customize the address to which inbound messages are sent. */
diff --git a/types/sparkpost/v1/index.d.ts b/types/sparkpost/v1/index.d.ts
index 4ed3aa4a6efa1c..0898a51b757499 100644
--- a/types/sparkpost/v1/index.d.ts
+++ b/types/sparkpost/v1/index.d.ts
@@ -1,7 +1,7 @@
///
import * as Http from "http";
-import * as Request from "request";
+import Request = require("request");
declare class SparkPost {
/** Specifying an inbound domain enables you to customize the address to which inbound messages are sent. */
diff --git a/types/spectrogram/spectrogram-tests.ts b/types/spectrogram/spectrogram-tests.ts
index 631c0f8c5db873..e614d3f4b47f5f 100644
--- a/types/spectrogram/spectrogram-tests.ts
+++ b/types/spectrogram/spectrogram-tests.ts
@@ -1,4 +1,4 @@
-import * as Spectrogram from "spectrogram";
+import Spectrogram from "spectrogram";
// XHR
const canvas1 = document.createElement("canvas");
diff --git a/types/spectrogram/tsconfig.json b/types/spectrogram/tsconfig.json
index 79ca26ecaedef9..446e0dd88cf4b6 100644
--- a/types/spectrogram/tsconfig.json
+++ b/types/spectrogram/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/speedometer/speedometer-tests.ts b/types/speedometer/speedometer-tests.ts
index 5c916d48b0e735..8cfd80c093f633 100644
--- a/types/speedometer/speedometer-tests.ts
+++ b/types/speedometer/speedometer-tests.ts
@@ -1,4 +1,4 @@
-import * as speedometer from "speedometer";
+import speedometer from "speedometer";
const _speedometer: speedometer.Speedometer = speedometer(10);
_speedometer(25);
diff --git a/types/speedometer/tsconfig.json b/types/speedometer/tsconfig.json
index 2b124291f5e366..b87c457c3ddd99 100644
--- a/types/speedometer/tsconfig.json
+++ b/types/speedometer/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/split-file/index.d.ts b/types/split-file/index.d.ts
index 03af34e023dd62..7f99b60949f092 100644
--- a/types/split-file/index.d.ts
+++ b/types/split-file/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as BluebirdPromise from "bluebird";
+import BluebirdPromise = require("bluebird");
/**
* Split file into number of parts
diff --git a/types/split-file/split-file-tests.ts b/types/split-file/split-file-tests.ts
index 4ef72b28b90f3f..3c76903d59f180 100644
--- a/types/split-file/split-file-tests.ts
+++ b/types/split-file/split-file-tests.ts
@@ -1,4 +1,4 @@
-import * as splitFile from "split-file";
+import splitFile from "split-file";
// Example code from official documentation
// https://github.com/tomvlk/node-split-file#readme
diff --git a/types/sqlstring/sqlstring-tests.ts b/types/sqlstring/sqlstring-tests.ts
index ae024dc2850bd1..898f38659d5bb7 100644
--- a/types/sqlstring/sqlstring-tests.ts
+++ b/types/sqlstring/sqlstring-tests.ts
@@ -1,5 +1,5 @@
import * as assert from "assert";
-import * as SqlString from "sqlstring";
+import SqlString from "sqlstring";
// Code samples taken from:
// https://github.com/mysqljs/sqlstring/blob/master/README.md
diff --git a/types/srp/index.d.ts b/types/srp/index.d.ts
index 77b231ac220ac8..40262516dee302 100644
--- a/types/srp/index.d.ts
+++ b/types/srp/index.d.ts
@@ -1,7 +1,7 @@
///
///
-import * as BigNum from "bignum";
+import BigNum = require("bignum");
export = SRP;
diff --git a/types/sse/sse-tests.ts b/types/sse/sse-tests.ts
index 774c3dc854ba87..3d9acf32750b8e 100644
--- a/types/sse/sse-tests.ts
+++ b/types/sse/sse-tests.ts
@@ -1,5 +1,5 @@
import SSE = require("sse");
-import * as express from "express";
+import express from "express";
import { createServer } from "http";
const expressApp = express();
diff --git a/types/sse/tsconfig.json b/types/sse/tsconfig.json
index 1de2c57be58c4b..4c8cf45bd33fe8 100644
--- a/types/sse/tsconfig.json
+++ b/types/sse/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/ssh2-streams/index.d.ts b/types/ssh2-streams/index.d.ts
index 25724cffb83f62..474718f9b14cd1 100644
--- a/types/ssh2-streams/index.d.ts
+++ b/types/ssh2-streams/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as stream from "stream";
+import stream = require("stream");
export class SSH2Stream extends stream.Transform {
/**
diff --git a/types/ssi-modal/tsconfig.json b/types/ssi-modal/tsconfig.json
index 440db51a52a628..ccd954fe102d00 100644
--- a/types/ssi-modal/tsconfig.json
+++ b/types/ssi-modal/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/standard-version/tsconfig.json b/types/standard-version/tsconfig.json
index 525b7a2a5a0ffb..70b6c92bd40a48 100644
--- a/types/standard-version/tsconfig.json
+++ b/types/standard-version/tsconfig.json
@@ -9,7 +9,6 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/statsd-client/index.d.ts b/types/statsd-client/index.d.ts
index 7a10cd2636a2f8..45f7570f3139d4 100644
--- a/types/statsd-client/index.d.ts
+++ b/types/statsd-client/index.d.ts
@@ -1,4 +1,4 @@
-import * as express from "express";
+import express = require("express");
declare namespace StatsdClient {
interface Tags {
diff --git a/types/steam-login/steam-login-tests.ts b/types/steam-login/steam-login-tests.ts
index 1c43ee72e9016a..0b677c8ed1dbfe 100644
--- a/types/steam-login/steam-login-tests.ts
+++ b/types/steam-login/steam-login-tests.ts
@@ -1,7 +1,7 @@
// Port of https://github.com/cpancake/steam-login/blob/master/example.js
-import * as express from "express";
-import * as session from "express-session";
+import express from "express";
+import session from "express-session";
import * as steam from "steam-login";
const app = express();
diff --git a/types/steam-login/tsconfig.json b/types/steam-login/tsconfig.json
index bc2927c2b266fb..26b00c5e672196 100644
--- a/types/steam-login/tsconfig.json
+++ b/types/steam-login/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/store/store-tests.ts b/types/store/store-tests.ts
index 4251bd34b23c4e..c71fdd93a63039 100644
--- a/types/store/store-tests.ts
+++ b/types/store/store-tests.ts
@@ -1,14 +1,14 @@
-import * as store from "store";
-import * as allPlugin from "store/plugins/all";
-import * as defaultsPlugin from "store/plugins/defaults";
-import * as dumpPlugin from "store/plugins/dump";
-import * as eventsPlugin from "store/plugins/events";
-import * as expirePlugin from "store/plugins/expire";
-import * as observePlugin from "store/plugins/observe";
-import * as operationsPlugin from "store/plugins/operations";
-import * as updatePlugin from "store/plugins/update";
-import * as v1BackcompatPlugin from "store/plugins/v1-backcompat";
-import * as engine from "store/src/store-engine";
+import store from "store";
+import allPlugin from "store/plugins/all";
+import defaultsPlugin from "store/plugins/defaults";
+import dumpPlugin from "store/plugins/dump";
+import eventsPlugin from "store/plugins/events";
+import expirePlugin from "store/plugins/expire";
+import observePlugin from "store/plugins/observe";
+import operationsPlugin from "store/plugins/operations";
+import updatePlugin from "store/plugins/update";
+import v1BackcompatPlugin from "store/plugins/v1-backcompat";
+import engine from "store/src/store-engine";
// https://github.com/marcuswestin/store.js/blob/master/README-More.md#storeenabled-flag
console.log("storage is supported: ", store.enabled === true);
diff --git a/types/store/tsconfig.json b/types/store/tsconfig.json
index 98375cce54b38e..7740c13b9efc73 100644
--- a/types/store/tsconfig.json
+++ b/types/store/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/storybook-addon-jsx/tsconfig.json b/types/storybook-addon-jsx/tsconfig.json
index 448055b28ba703..1e3024ea18d83b 100644
--- a/types/storybook-addon-jsx/tsconfig.json
+++ b/types/storybook-addon-jsx/tsconfig.json
@@ -12,8 +12,7 @@
"jsx": "react",
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/storybook-react-router/tsconfig.json b/types/storybook-react-router/tsconfig.json
index dd45478a1271fb..1b3adc55f0e8a1 100644
--- a/types/storybook-react-router/tsconfig.json
+++ b/types/storybook-react-router/tsconfig.json
@@ -12,8 +12,7 @@
"jsx": "react",
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/storybook-readme/tsconfig.json b/types/storybook-readme/tsconfig.json
index 3b2a38b663449e..18c7f9d6514c4d 100644
--- a/types/storybook-readme/tsconfig.json
+++ b/types/storybook-readme/tsconfig.json
@@ -12,8 +12,7 @@
"jsx": "react",
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/storybook__addon-info/tsconfig.json b/types/storybook__addon-info/tsconfig.json
index d027376d0f3cd7..9956a73c8bb4b8 100644
--- a/types/storybook__addon-info/tsconfig.json
+++ b/types/storybook__addon-info/tsconfig.json
@@ -12,8 +12,7 @@
"jsx": "react",
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/strange/strange-tests.ts b/types/strange/strange-tests.ts
index cb477d2113d479..b804d422296d8b 100644
--- a/types/strange/strange-tests.ts
+++ b/types/strange/strange-tests.ts
@@ -1,5 +1,5 @@
-import * as Range from "strange";
-import * as RangeTree from "strange/tree";
+import Range from "strange";
+import RangeTree from "strange/tree";
{
new Range();
diff --git a/types/strange/tsconfig.json b/types/strange/tsconfig.json
index 4615c01a7b0c57..c853523544226d 100644
--- a/types/strange/tsconfig.json
+++ b/types/strange/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/stream-buffers/index.d.ts b/types/stream-buffers/index.d.ts
index b73c073499d131..e5c10088a87def 100644
--- a/types/stream-buffers/index.d.ts
+++ b/types/stream-buffers/index.d.ts
@@ -1,5 +1,5 @@
///
-import * as stream from "stream";
+import stream = require("stream");
export interface WritableStreamBufferOptions extends stream.WritableOptions {
initialSize?: number | undefined;
diff --git a/types/stream-chain/tsconfig.json b/types/stream-chain/tsconfig.json
index 513c6e9598dd44..c5232a6c4ce4d3 100644
--- a/types/stream-chain/tsconfig.json
+++ b/types/stream-chain/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/stream-csv-as-json/AsObjects.d.ts b/types/stream-csv-as-json/AsObjects.d.ts
index f0476cc210a683..b2f8c204538583 100644
--- a/types/stream-csv-as-json/AsObjects.d.ts
+++ b/types/stream-csv-as-json/AsObjects.d.ts
@@ -1,7 +1,7 @@
///
import { Transform, TransformOptions } from "stream";
-import * as Chain from "stream-chain";
+import Chain = require("stream-chain");
export = AsObjects;
diff --git a/types/stream-csv-as-json/index.d.ts b/types/stream-csv-as-json/index.d.ts
index 0a4ae1e042a74a..54554d99c67e2e 100644
--- a/types/stream-csv-as-json/index.d.ts
+++ b/types/stream-csv-as-json/index.d.ts
@@ -1,6 +1,4 @@
-import * as AsObjects from "./AsObjects";
-import * as Parser from "./Parser";
-import * as Stringer from "./Stringer";
+import Parser = require("./Parser");
export = make;
diff --git a/types/stream-csv-as-json/stream-csv-as-json-tests.ts b/types/stream-csv-as-json/stream-csv-as-json-tests.ts
index 66a95682bf20be..9106b89f6c0a72 100644
--- a/types/stream-csv-as-json/stream-csv-as-json-tests.ts
+++ b/types/stream-csv-as-json/stream-csv-as-json-tests.ts
@@ -1,7 +1,7 @@
-import * as make from "stream-csv-as-json";
-import * as AsObjects from "stream-csv-as-json/AsObjects";
-import * as Parser from "stream-csv-as-json/Parser";
-import * as Stringer from "stream-csv-as-json/Stringer";
+import make from "stream-csv-as-json";
+import AsObjects from "stream-csv-as-json/AsObjects";
+import Parser from "stream-csv-as-json/Parser";
+import Stringer from "stream-csv-as-json/Stringer";
const used = (array: any[]) => array.forEach(value => console.log(!!value));
diff --git a/types/stream-csv-as-json/tsconfig.json b/types/stream-csv-as-json/tsconfig.json
index 20ad757c5bd296..c3dddf2cc9ef4b 100644
--- a/types/stream-csv-as-json/tsconfig.json
+++ b/types/stream-csv-as-json/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "strictFunctionTypes": true
+ "strictFunctionTypes": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/stream-json/stream-json-tests.ts b/types/stream-json/stream-json-tests.ts
index caf9ae82020490..ff2365677d5e39 100644
--- a/types/stream-json/stream-json-tests.ts
+++ b/types/stream-json/stream-json-tests.ts
@@ -1,31 +1,31 @@
import { Transform, TransformOptions } from "stream";
-import * as make from "stream-json";
+import make from "stream-json";
-import * as Assembler from "stream-json/Assembler";
-import * as Disassembler from "stream-json/Disassembler";
-import * as Emitter from "stream-json/Emitter";
-import * as Parser from "stream-json/Parser";
-import * as Stringer from "stream-json/Stringer";
+import Assembler from "stream-json/Assembler";
+import Disassembler from "stream-json/Disassembler";
+import Emitter from "stream-json/Emitter";
+import Parser from "stream-json/Parser";
+import Stringer from "stream-json/Stringer";
-import * as JsonlParser from "stream-json/jsonl/Parser";
-import * as JsonlStringer from "stream-json/jsonl/Stringer";
+import JsonlParser from "stream-json/jsonl/Parser";
+import JsonlStringer from "stream-json/jsonl/Stringer";
-import * as Filter from "stream-json/filters/Filter";
+import Filter from "stream-json/filters/Filter";
import * as FilterBase from "stream-json/filters/FilterBase";
-import * as Ignore from "stream-json/filters/Ignore";
-import * as Pick from "stream-json/filters/Pick";
-import * as Replace from "stream-json/filters/Replace";
-
-import * as StreamArray from "stream-json/streamers/StreamArray";
-import * as StreamObject from "stream-json/streamers/StreamObject";
-import * as StreamValues from "stream-json/streamers/StreamValues";
-
-import * as Batch from "stream-json/utils/Batch";
-import * as emit from "stream-json/utils/emit";
-import * as Utf8Stream from "stream-json/utils/Utf8Stream";
-import * as Verifier from "stream-json/utils/Verifier";
-import * as withParser from "stream-json/utils/withParser";
+import Ignore from "stream-json/filters/Ignore";
+import Pick from "stream-json/filters/Pick";
+import Replace from "stream-json/filters/Replace";
+
+import StreamArray from "stream-json/streamers/StreamArray";
+import StreamObject from "stream-json/streamers/StreamObject";
+import StreamValues from "stream-json/streamers/StreamValues";
+
+import Batch from "stream-json/utils/Batch";
+import emit from "stream-json/utils/emit";
+import Utf8Stream from "stream-json/utils/Utf8Stream";
+import Verifier from "stream-json/utils/Verifier";
+import withParser from "stream-json/utils/withParser";
const used = (array: any[]) => array.forEach(value => console.log(!!value));
diff --git a/types/stream-json/tsconfig.json b/types/stream-json/tsconfig.json
index de8e3384ebad60..1519ff6cc3ad41 100644
--- a/types/stream-json/tsconfig.json
+++ b/types/stream-json/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/stream-to-promise/index.d.ts b/types/stream-to-promise/index.d.ts
index 056dc717cf0ea1..50a13075accdd8 100644
--- a/types/stream-to-promise/index.d.ts
+++ b/types/stream-to-promise/index.d.ts
@@ -1,5 +1,5 @@
///
-import * as Stream from "stream";
+import Stream = require("stream");
/**
* Return a promise which resolves when the input stream ends
diff --git a/types/streamify-array/tsconfig.json b/types/streamify-array/tsconfig.json
index 8563aab3df5b33..29420684ec57c2 100644
--- a/types/streamify-array/tsconfig.json
+++ b/types/streamify-array/tsconfig.json
@@ -4,7 +4,6 @@
"lib": [
"es6"
],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
diff --git a/types/streaming-json-stringify/index.d.ts b/types/streaming-json-stringify/index.d.ts
index 17d33120a52ff1..eff9f703efcd7d 100644
--- a/types/streaming-json-stringify/index.d.ts
+++ b/types/streaming-json-stringify/index.d.ts
@@ -1,5 +1,5 @@
///
-import * as stream from "stream";
+import stream = require("stream");
export = Stringify;
diff --git a/types/streamsaver/tsconfig.json b/types/streamsaver/tsconfig.json
index 180241113b5aae..f50dfdd87dd7d2 100644
--- a/types/streamsaver/tsconfig.json
+++ b/types/streamsaver/tsconfig.json
@@ -7,7 +7,6 @@
],
"noImplicitAny": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
"types": [],
diff --git a/types/string-natural-compare/tsconfig.json b/types/string-natural-compare/tsconfig.json
index ffb29542ec1551..3f3c405d586683 100644
--- a/types/string-natural-compare/tsconfig.json
+++ b/types/string-natural-compare/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/string-placeholder/tsconfig.json b/types/string-placeholder/tsconfig.json
index 4362820b88c9f9..fac0e8d4402f0a 100644
--- a/types/string-placeholder/tsconfig.json
+++ b/types/string-placeholder/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/string-replace-loader/index.d.ts b/types/string-replace-loader/index.d.ts
index 0f112bc7eab603..9116f5e3f23d05 100644
--- a/types/string-replace-loader/index.d.ts
+++ b/types/string-replace-loader/index.d.ts
@@ -1,4 +1,4 @@
-import * as Webpack from "webpack";
+import Webpack = require("webpack");
declare const loader: Webpack.loader.Loader;
diff --git a/types/string-similarity/tsconfig.json b/types/string-similarity/tsconfig.json
index 978927115f4f87..a77eda551e9baa 100644
--- a/types/string-similarity/tsconfig.json
+++ b/types/string-similarity/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/styled-components-react-native/styled-components-react-native-tests.tsx b/types/styled-components-react-native/styled-components-react-native-tests.tsx
index 7493c216dd455d..f17668c96ee65a 100644
--- a/types/styled-components-react-native/styled-components-react-native-tests.tsx
+++ b/types/styled-components-react-native/styled-components-react-native-tests.tsx
@@ -1,6 +1,6 @@
import * as React from "react";
import * as ReactDOMServer from "react-dom/server";
-import * as ReactNative from "react-native";
+import ReactNative from "react-native";
import styled, {
css,
diff --git a/types/styled-components/index.d.ts b/types/styled-components/index.d.ts
index c169f69ff082ec..7197265c624d68 100644
--- a/types/styled-components/index.d.ts
+++ b/types/styled-components/index.d.ts
@@ -9,7 +9,7 @@ declare global {
}
import * as CSS from "csstype";
-import * as hoistNonReactStatics from "hoist-non-react-statics";
+import hoistNonReactStatics = require("hoist-non-react-statics");
import * as React from "react";
export type CSSProperties = CSS.Properties;
diff --git a/types/styled-components/test/index.tsx b/types/styled-components/test/index.tsx
index bb630427b25b03..b121462cabfbef 100644
--- a/types/styled-components/test/index.tsx
+++ b/types/styled-components/test/index.tsx
@@ -1,4 +1,4 @@
-import * as React from "react";
+import React from "react";
import * as ReactDOMServer from "react-dom/server";
import styled, {
diff --git a/types/styled-components/tsconfig.json b/types/styled-components/tsconfig.json
index ecfb3a0424d650..3278cc1e02ca3d 100644
--- a/types/styled-components/tsconfig.json
+++ b/types/styled-components/tsconfig.json
@@ -12,7 +12,8 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "types": []
+ "types": [],
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/styled-theming/tsconfig.json b/types/styled-theming/tsconfig.json
index e5216d0310818d..1a3f8f2a179c73 100644
--- a/types/styled-theming/tsconfig.json
+++ b/types/styled-theming/tsconfig.json
@@ -1,6 +1,5 @@
{
"compilerOptions": {
- "esModuleInterop": true,
"module": "node16",
"lib": [
"es6"
diff --git a/types/subleveldown/tsconfig.json b/types/subleveldown/tsconfig.json
index 17c4839c83e300..302a530444d3b1 100644
--- a/types/subleveldown/tsconfig.json
+++ b/types/subleveldown/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/superagent-bunyan/index.d.ts b/types/superagent-bunyan/index.d.ts
index 766899bc26ca6e..418042760c6395 100644
--- a/types/superagent-bunyan/index.d.ts
+++ b/types/superagent-bunyan/index.d.ts
@@ -1,4 +1,4 @@
-import * as Logger from "bunyan";
+import Logger = require("bunyan");
import { Plugin } from "superagent";
declare function superagentLogger(logger: Logger, requestId?: string, extra?: object): Plugin;
diff --git a/types/superagent-no-cache/index.d.ts b/types/superagent-no-cache/index.d.ts
index 25078a017951aa..d6b6f47443e651 100644
--- a/types/superagent-no-cache/index.d.ts
+++ b/types/superagent-no-cache/index.d.ts
@@ -1,4 +1,4 @@
-import * as request from "superagent";
+import request = require("superagent");
declare const plugin: request.Plugin;
diff --git a/types/superagent-prefix/index.d.ts b/types/superagent-prefix/index.d.ts
index dc554e5e45a7ec..f8e8ebbd3ac1a5 100644
--- a/types/superagent-prefix/index.d.ts
+++ b/types/superagent-prefix/index.d.ts
@@ -1,4 +1,4 @@
-import * as request from "superagent";
+import request = require("superagent");
declare function plugin(prefix: string): request.Plugin;
diff --git a/types/superagent-retry-delay/index.d.ts b/types/superagent-retry-delay/index.d.ts
index 721718f347b03c..fc301e3222daed 100644
--- a/types/superagent-retry-delay/index.d.ts
+++ b/types/superagent-retry-delay/index.d.ts
@@ -1,5 +1,5 @@
import * as cookiejar from "cookiejar";
-import * as stream from "stream";
+import stream = require("stream");
import { Request, Response, SuperAgentRequest, SuperAgentStatic } from "superagent";
// these types should be exported by `superagent` but are not -------
diff --git a/types/superagent-retry-delay/superagent-retry-delay-tests.ts b/types/superagent-retry-delay/superagent-retry-delay-tests.ts
index 7948e14d55e991..fbda208f5d54a2 100644
--- a/types/superagent-retry-delay/superagent-retry-delay-tests.ts
+++ b/types/superagent-retry-delay/superagent-retry-delay-tests.ts
@@ -1,4 +1,4 @@
-import * as superagent from "superagent";
+import superagent from "superagent";
import wrapSuperagent = require("superagent-retry-delay");
// $ExpectType EnhancedSuperAgentStatic
diff --git a/types/superagent-retry-delay/tsconfig.json b/types/superagent-retry-delay/tsconfig.json
index 33ef9bc8e52e64..e3f6d4cbf64800 100644
--- a/types/superagent-retry-delay/tsconfig.json
+++ b/types/superagent-retry-delay/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/supertest-as-promised/index.d.ts b/types/supertest-as-promised/index.d.ts
index e54184ad4a87fd..29788ba74b46a8 100644
--- a/types/supertest-as-promised/index.d.ts
+++ b/types/supertest-as-promised/index.d.ts
@@ -1,4 +1,4 @@
-import * as PromiseBluebird from "bluebird";
+import PromiseBluebird = require("bluebird");
import supertest = require("supertest");
import { Server } from "tls";
diff --git a/types/svg-path-bounding-box/svg-path-bounding-box-tests.ts b/types/svg-path-bounding-box/svg-path-bounding-box-tests.ts
index 968b862e3cc200..96d677751c2104 100644
--- a/types/svg-path-bounding-box/svg-path-bounding-box-tests.ts
+++ b/types/svg-path-bounding-box/svg-path-bounding-box-tests.ts
@@ -1,4 +1,4 @@
-import * as svgPathBoundingBox from "svg-path-bounding-box";
+import svgPathBoundingBox from "svg-path-bounding-box";
const bbox = svgPathBoundingBox("M300,200 h-150 a150,150 0 1,0 150,-150 z");
diff --git a/types/svg-path-bounding-box/tsconfig.json b/types/svg-path-bounding-box/tsconfig.json
index 8217ccdaa1d709..d28445c4ce48f6 100644
--- a/types/svg-path-bounding-box/tsconfig.json
+++ b/types/svg-path-bounding-box/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/svg-path-bounds/tsconfig.json b/types/svg-path-bounds/tsconfig.json
index a40a20f17e391a..9be8b175c35c8f 100755
--- a/types/svg-path-bounds/tsconfig.json
+++ b/types/svg-path-bounds/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/svg4everybody/tsconfig.json b/types/svg4everybody/tsconfig.json
index eba01713418596..d097a70c567765 100644
--- a/types/svg4everybody/tsconfig.json
+++ b/types/svg4everybody/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/svg64/tsconfig.json b/types/svg64/tsconfig.json
index 625cb1585969f3..dae949b4dc762a 100644
--- a/types/svg64/tsconfig.json
+++ b/types/svg64/tsconfig.json
@@ -9,7 +9,6 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/sw-precache-webpack-plugin/sw-precache-webpack-plugin-tests.ts b/types/sw-precache-webpack-plugin/sw-precache-webpack-plugin-tests.ts
index 37a6baa37d8a62..7336f9b35081f4 100644
--- a/types/sw-precache-webpack-plugin/sw-precache-webpack-plugin-tests.ts
+++ b/types/sw-precache-webpack-plugin/sw-precache-webpack-plugin-tests.ts
@@ -1,4 +1,4 @@
-import * as SwPrecacheWebpackPlugin from "sw-precache-webpack-plugin";
+import SwPrecacheWebpackPlugin from "sw-precache-webpack-plugin";
import { Configuration } from "webpack";
let config: Configuration = {
diff --git a/types/sw-precache-webpack-plugin/tsconfig.json b/types/sw-precache-webpack-plugin/tsconfig.json
index 786d2a2a938716..0a2ad9f4becc98 100644
--- a/types/sw-precache-webpack-plugin/tsconfig.json
+++ b/types/sw-precache-webpack-plugin/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/swagger-jsdoc/swagger-jsdoc-tests.ts b/types/swagger-jsdoc/swagger-jsdoc-tests.ts
index 54061d00c62e04..41f807203809b4 100644
--- a/types/swagger-jsdoc/swagger-jsdoc-tests.ts
+++ b/types/swagger-jsdoc/swagger-jsdoc-tests.ts
@@ -1,5 +1,5 @@
-import * as express from "express";
-import * as swaggerJSDoc from "swagger-jsdoc";
+import express from "express";
+import swaggerJSDoc from "swagger-jsdoc";
const app = express();
diff --git a/types/swagger-jsdoc/tsconfig.json b/types/swagger-jsdoc/tsconfig.json
index a458c04c3d66a0..b531ccc3cbd101 100644
--- a/types/swagger-jsdoc/tsconfig.json
+++ b/types/swagger-jsdoc/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/swagger-stats/swagger-stats-tests.ts b/types/swagger-stats/swagger-stats-tests.ts
index 7d0aadf5d8e451..4331e128ebc0a8 100644
--- a/types/swagger-stats/swagger-stats-tests.ts
+++ b/types/swagger-stats/swagger-stats-tests.ts
@@ -1,5 +1,5 @@
import { Server } from "@hapi/hapi";
-import * as express from "express";
+import express from "express";
import fastify from "fastify";
import {
getCoreStats,
diff --git a/types/swagger-stats/tsconfig.json b/types/swagger-stats/tsconfig.json
index 5cfeecb0d4a92f..afca1584fcf295 100644
--- a/types/swagger-stats/tsconfig.json
+++ b/types/swagger-stats/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/tableau-js-api/tsconfig.json b/types/tableau-js-api/tsconfig.json
index 7d49f5bb645a5d..f3c4a6657906ab 100644
--- a/types/tableau-js-api/tsconfig.json
+++ b/types/tableau-js-api/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/tablesorter/test/Settings.ts b/types/tablesorter/test/Settings.ts
index 001648d702af1c..cdc455af25fd56 100644
--- a/types/tablesorter/test/Settings.ts
+++ b/types/tablesorter/test/Settings.ts
@@ -1,4 +1,4 @@
-import * as Globalize from "globalize";
+import Globalize from "globalize";
import "jquery";
import {
ColumnFilter,
diff --git a/types/tablesorter/tsconfig.json b/types/tablesorter/tsconfig.json
index 8c1f523d6e2546..d02952cfa8143e 100644
--- a/types/tablesorter/tsconfig.json
+++ b/types/tablesorter/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/tabulator/tsconfig.json b/types/tabulator/tsconfig.json
index 28353bb436a81c..398b0a477a8113 100644
--- a/types/tabulator/tsconfig.json
+++ b/types/tabulator/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/tar-js/tar-js-tests.ts b/types/tar-js/tar-js-tests.ts
index 8416f87361d3f8..0225f3fc226efd 100644
--- a/types/tar-js/tar-js-tests.ts
+++ b/types/tar-js/tar-js-tests.ts
@@ -1,5 +1,5 @@
///
-import * as Tar from "tar-js";
+import Tar from "tar-js";
const tar = new Tar();
console.log(tar.written === 0);
diff --git a/types/tar-js/tsconfig.json b/types/tar-js/tsconfig.json
index 81330631f500fe..25b7784eed79f1 100644
--- a/types/tar-js/tsconfig.json
+++ b/types/tar-js/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/tdigest/tsconfig.json b/types/tdigest/tsconfig.json
index 35e11e83367549..3cfa02e5b8de33 100644
--- a/types/tdigest/tsconfig.json
+++ b/types/tdigest/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/terminal-kit/tsconfig.json b/types/terminal-kit/tsconfig.json
index c5efda9a5d7587..7adcb4bb9977d2 100644
--- a/types/terminal-kit/tsconfig.json
+++ b/types/terminal-kit/tsconfig.json
@@ -7,7 +7,6 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
diff --git a/types/test-exclude/test-exclude-tests.ts b/types/test-exclude/test-exclude-tests.ts
index e819965ea1c8c1..64e3f8f65ec5ef 100644
--- a/types/test-exclude/test-exclude-tests.ts
+++ b/types/test-exclude/test-exclude-tests.ts
@@ -1,4 +1,4 @@
-import * as TestExclude from "test-exclude";
+import TestExclude from "test-exclude";
// @ts-expect-error
new TestExclude(null);
diff --git a/types/test-exclude/tsconfig.json b/types/test-exclude/tsconfig.json
index 39a3dc6511cda6..53a837e09f1f5e 100644
--- a/types/test-exclude/tsconfig.json
+++ b/types/test-exclude/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/text-to-svg/tsconfig.json b/types/text-to-svg/tsconfig.json
index 94a1a145badb23..0b40e4125c4c36 100644
--- a/types/text-to-svg/tsconfig.json
+++ b/types/text-to-svg/tsconfig.json
@@ -11,8 +11,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/tgfancy/index.d.ts b/types/tgfancy/index.d.ts
index b49585e25a814c..7bc6a24a72d6a2 100644
--- a/types/tgfancy/index.d.ts
+++ b/types/tgfancy/index.d.ts
@@ -1,4 +1,4 @@
-import * as TelegramBot from "node-telegram-bot-api";
+import TelegramBot = require("node-telegram-bot-api");
declare namespace Tgfancy {
interface ChatIdResolutionOptions {
diff --git a/types/tgfancy/tsconfig.json b/types/tgfancy/tsconfig.json
index b25452437466eb..3b8b4b1fbb80e9 100644
--- a/types/tgfancy/tsconfig.json
+++ b/types/tgfancy/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/three-dat.gui/tsconfig.json b/types/three-dat.gui/tsconfig.json
index 9ff450e6aca621..3c67839d038f56 100644
--- a/types/three-dat.gui/tsconfig.json
+++ b/types/three-dat.gui/tsconfig.json
@@ -12,7 +12,8 @@
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "allowSyntheticDefaultImports": true
+ "allowSyntheticDefaultImports": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/three-gif-loader/tsconfig.json b/types/three-gif-loader/tsconfig.json
index 74b1074166bb7b..1196765339d3ff 100644
--- a/types/three-gif-loader/tsconfig.json
+++ b/types/three-gif-loader/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/three-nebula/tsconfig.json b/types/three-nebula/tsconfig.json
index 00d77e75f5a1fc..9debf1d35fca14 100644
--- a/types/three-nebula/tsconfig.json
+++ b/types/three-nebula/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/three-tds-loader/tsconfig.json b/types/three-tds-loader/tsconfig.json
index 057311f813cc5e..ee7d1a76ada10f 100644
--- a/types/three-tds-loader/tsconfig.json
+++ b/types/three-tds-loader/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/throttle/index.d.ts b/types/throttle/index.d.ts
index 3ccb8f3bbcd0b8..575c8ff011a1dc 100644
--- a/types/throttle/index.d.ts
+++ b/types/throttle/index.d.ts
@@ -1,5 +1,5 @@
///
-import * as stream from "stream";
+import stream = require("stream");
export = Throttle;
diff --git a/types/through2-concurrent/through2-concurrent-tests.ts b/types/through2-concurrent/through2-concurrent-tests.ts
index ed2d488311a2f7..e7266f3cf127b4 100644
--- a/types/through2-concurrent/through2-concurrent-tests.ts
+++ b/types/through2-concurrent/through2-concurrent-tests.ts
@@ -1,5 +1,5 @@
import { Transform } from "stream";
-import * as through2 from "through2-concurrent";
+import through2 from "through2-concurrent";
let str: Transform;
diff --git a/types/through2-concurrent/tsconfig.json b/types/through2-concurrent/tsconfig.json
index f825eafd4b4c12..e2ae34deaa02e0 100644
--- a/types/through2-concurrent/tsconfig.json
+++ b/types/through2-concurrent/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/time-limited-regular-expressions/time-limited-regular-expressions-tests.ts b/types/time-limited-regular-expressions/time-limited-regular-expressions-tests.ts
index 598f10279da2e7..011daa068488bd 100644
--- a/types/time-limited-regular-expressions/time-limited-regular-expressions-tests.ts
+++ b/types/time-limited-regular-expressions/time-limited-regular-expressions-tests.ts
@@ -1,4 +1,4 @@
-import * as tlre from "time-limited-regular-expressions";
+import tlre from "time-limited-regular-expressions";
tlre(); // $ExpectType TLRE
tlre({ limit: 1 }); // $ExpectType TLRE
diff --git a/types/time-limited-regular-expressions/tsconfig.json b/types/time-limited-regular-expressions/tsconfig.json
index 3917fe982dfcc7..01b69f97ab4254 100644
--- a/types/time-limited-regular-expressions/tsconfig.json
+++ b/types/time-limited-regular-expressions/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/tinycolor2/tsconfig.json b/types/tinycolor2/tsconfig.json
index a3bf5e68e69193..a2f8c5e8c9890b 100644
--- a/types/tinycolor2/tsconfig.json
+++ b/types/tinycolor2/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/tippy.js/tsconfig.json b/types/tippy.js/tsconfig.json
index 35b4a714658dcc..2aae423027fee9 100644
--- a/types/tippy.js/tsconfig.json
+++ b/types/tippy.js/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"DOM"
@@ -11,8 +11,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/titlecase/titlecase-tests.ts b/types/titlecase/titlecase-tests.ts
index c3d3f0534bd271..b36524b8ca8326 100644
--- a/types/titlecase/titlecase-tests.ts
+++ b/types/titlecase/titlecase-tests.ts
@@ -1,4 +1,4 @@
-import * as toTitleCase from "titlecase";
+import toTitleCase from "titlecase";
toTitleCase("this is a test") === "This Is a Test";
toTitleCase.toTitleCase("this is a test") === "This Is a Test";
diff --git a/types/titlecase/tsconfig.json b/types/titlecase/tsconfig.json
index fc23eaec079e2c..5a14c1c7d30b75 100644
--- a/types/titlecase/tsconfig.json
+++ b/types/titlecase/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/tizen-common-web/tsconfig.json b/types/tizen-common-web/tsconfig.json
index 27649f8f89e271..8ae71ab909e8b7 100644
--- a/types/tizen-common-web/tsconfig.json
+++ b/types/tizen-common-web/tsconfig.json
@@ -9,7 +9,6 @@
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"types": [],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
diff --git a/types/tizen-tv-webapis/tsconfig.json b/types/tizen-tv-webapis/tsconfig.json
index 91e648cc0b8283..c4f9c4b87a3df9 100644
--- a/types/tizen-tv-webapis/tsconfig.json
+++ b/types/tizen-tv-webapis/tsconfig.json
@@ -9,7 +9,6 @@
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"types": [],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
diff --git a/types/tokgen/tokgen-tests.ts b/types/tokgen/tokgen-tests.ts
index 16098ef82e3de1..8f0a990a1e8067 100644
--- a/types/tokgen/tokgen-tests.ts
+++ b/types/tokgen/tokgen-tests.ts
@@ -1,4 +1,4 @@
-import * as TokenGenerator from "tokgen";
+import TokenGenerator from "tokgen";
const generator1 = new TokenGenerator();
const generator2 = new TokenGenerator("0-9a-f");
diff --git a/types/tokgen/tsconfig.json b/types/tokgen/tsconfig.json
index 195456e4bbfe26..bc5c9a8c09c5b3 100644
--- a/types/tokgen/tsconfig.json
+++ b/types/tokgen/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/topojson/tsconfig.json b/types/topojson/tsconfig.json
index 579ccf8b05d2f4..f996fdf47b909b 100644
--- a/types/topojson/tsconfig.json
+++ b/types/topojson/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/transducers-js/transducers-js-tests.ts b/types/transducers-js/transducers-js-tests.ts
index a8bd27ad1434ed..e3216a01277250 100644
--- a/types/transducers-js/transducers-js-tests.ts
+++ b/types/transducers-js/transducers-js-tests.ts
@@ -1,6 +1,6 @@
// tests taken from https://github.com/cognitect-labs/transducers-js
-import * as t from "transducers-js";
+import t from "transducers-js";
const { map, filter, comp, into } = t;
diff --git a/types/transducers.js/transducers.js-tests.ts b/types/transducers.js/transducers.js-tests.ts
index e7a64d14328a9b..4912fae97abb12 100644
--- a/types/transducers.js/transducers.js-tests.ts
+++ b/types/transducers.js/transducers.js-tests.ts
@@ -1,4 +1,4 @@
-import * as t from "transducers.js";
+import t from "transducers.js";
const stringAppendFn: t.Reducer = (acc, x) => acc + x;
const stringAppendTransformer = t.transformer(stringAppendFn);
diff --git a/types/transform-pouch/transform-pouch-tests.ts b/types/transform-pouch/transform-pouch-tests.ts
index a6d190beea51a3..6499b47b267a63 100644
--- a/types/transform-pouch/transform-pouch-tests.ts
+++ b/types/transform-pouch/transform-pouch-tests.ts
@@ -1,7 +1,7 @@
///
-import * as PouchDB from "pouchdb";
-import * as transform from "transform-pouch";
+import PouchDB from "pouchdb";
+import transform from "transform-pouch";
PouchDB.plugin(transform);
const db1 = new PouchDB<{ example: number }>();
diff --git a/types/transform-pouch/tsconfig.json b/types/transform-pouch/tsconfig.json
index 948a176ca90010..73df88d9147ca0 100644
--- a/types/transform-pouch/tsconfig.json
+++ b/types/transform-pouch/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/trtc-calling-js/tsconfig.json b/types/trtc-calling-js/tsconfig.json
index 99f69d0e5e9bad..8be12579a9bb83 100644
--- a/types/trtc-calling-js/tsconfig.json
+++ b/types/trtc-calling-js/tsconfig.json
@@ -11,8 +11,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/tryer/tryer-tests.ts b/types/tryer/tryer-tests.ts
index 2c9bb0dc3ce136..0ea8d0b80ac4f3 100644
--- a/types/tryer/tryer-tests.ts
+++ b/types/tryer/tryer-tests.ts
@@ -1,4 +1,4 @@
-import * as tryer from "tryer";
+import tryer from "tryer";
// @ts-expect-error
tryer();
diff --git a/types/tryer/tsconfig.json b/types/tryer/tsconfig.json
index 3a21ef2cc2e772..4bc40504c69b9d 100644
--- a/types/tryer/tsconfig.json
+++ b/types/tryer/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/tuya-panel-kit/tsconfig.json b/types/tuya-panel-kit/tsconfig.json
index fb7c8a36a31561..e8268f9925f6d5 100644
--- a/types/tuya-panel-kit/tsconfig.json
+++ b/types/tuya-panel-kit/tsconfig.json
@@ -20,7 +20,8 @@
"react-native": [
"../react-native/v0.65/index.d.ts"
]
- }
+ },
+ "esModuleInterop": true
},
"files": [
"index.d.ts"
diff --git a/types/typeof/tsconfig.json b/types/typeof/tsconfig.json
index 4bc694beaac499..4712c2d895988f 100644
--- a/types/typeof/tsconfig.json
+++ b/types/typeof/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/uglifyjs-webpack-plugin/tsconfig.json b/types/uglifyjs-webpack-plugin/tsconfig.json
index ce3b3625fa0aab..153dc9d5a5c1ac 100644
--- a/types/uglifyjs-webpack-plugin/tsconfig.json
+++ b/types/uglifyjs-webpack-plugin/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/uglifyjs-webpack-plugin/uglifyjs-webpack-plugin-tests.ts b/types/uglifyjs-webpack-plugin/uglifyjs-webpack-plugin-tests.ts
index 281f7d4f01bf14..a0048851306e18 100644
--- a/types/uglifyjs-webpack-plugin/uglifyjs-webpack-plugin-tests.ts
+++ b/types/uglifyjs-webpack-plugin/uglifyjs-webpack-plugin-tests.ts
@@ -1,5 +1,5 @@
-import * as UglifyjsWebpackPlugin from "uglifyjs-webpack-plugin";
-import * as webpack from "webpack";
+import UglifyjsWebpackPlugin from "uglifyjs-webpack-plugin";
+import webpack from "webpack";
const compiler = webpack({
plugins: [
diff --git a/types/underscore-ko/index.d.ts b/types/underscore-ko/index.d.ts
index 79ade059763def..5b6accecf12b35 100644
--- a/types/underscore-ko/index.d.ts
+++ b/types/underscore-ko/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as _ from "underscore";
+import _ = require("underscore");
interface KnockoutObservableArrayFunctions {
/* **
diff --git a/types/underscore.string/index.d.ts b/types/underscore.string/index.d.ts
index 2a99a57793fe74..463f0782da277c 100644
--- a/types/underscore.string/index.d.ts
+++ b/types/underscore.string/index.d.ts
@@ -1,4 +1,4 @@
-import * as _ from "underscore";
+import _ = require("underscore");
declare var self: _.UnderscoreStringStatic;
export = self;
diff --git a/types/undertaker/index.d.ts b/types/undertaker/index.d.ts
index 7a56e2d54b5587..4b16ba8c141f16 100644
--- a/types/undertaker/index.d.ts
+++ b/types/undertaker/index.d.ts
@@ -1,7 +1,7 @@
///
import { AsyncTask } from "async-done";
import { EventEmitter } from "events";
-import * as Registry from "undertaker-registry";
+import Registry = require("undertaker-registry");
declare namespace Undertaker {
interface TaskFunctionParams {
diff --git a/types/ungap__create-content/tsconfig.json b/types/ungap__create-content/tsconfig.json
index 26ba1abbd741bb..4b0972a49ce0b8 100644
--- a/types/ungap__create-content/tsconfig.json
+++ b/types/ungap__create-content/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"test/create-content.cjs.test.ts",
diff --git a/types/unique-push-id/tsconfig.json b/types/unique-push-id/tsconfig.json
index 6ac58c8207d5bc..70e41fd752d950 100644
--- a/types/unique-push-id/tsconfig.json
+++ b/types/unique-push-id/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/unpaginated/tsconfig.json b/types/unpaginated/tsconfig.json
index e956992a1d8f3b..6a99ef2128c372 100644
--- a/types/unpaginated/tsconfig.json
+++ b/types/unpaginated/tsconfig.json
@@ -10,7 +10,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/uploadcare/tsconfig.json b/types/uploadcare/tsconfig.json
index 4aad462f206f0e..0c4e2171b3a007 100644
--- a/types/uploadcare/tsconfig.json
+++ b/types/uploadcare/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/uploadcare/uploadcare-tests.ts b/types/uploadcare/uploadcare-tests.ts
index 295a470691ce65..029e76904f03ec 100644
--- a/types/uploadcare/uploadcare-tests.ts
+++ b/types/uploadcare/uploadcare-tests.ts
@@ -1,4 +1,4 @@
-import * as Uploadcare from "uploadcare";
+import Uploadcare from "uploadcare";
const uploadcare = Uploadcare("", "");
diff --git a/types/urijs/src/URITemplate.d.ts b/types/urijs/src/URITemplate.d.ts
index f0b6cf9fd63b6b..c49548634d77c6 100644
--- a/types/urijs/src/URITemplate.d.ts
+++ b/types/urijs/src/URITemplate.d.ts
@@ -1,4 +1,4 @@
-import * as URI from "../";
+import URI = require("../");
export = URITemplate;
export as namespace URITemplate;
diff --git a/types/urijs/test/urijs-dom.test.ts b/types/urijs/test/urijs-dom.test.ts
index 7318997b75eb10..1dc3396bade1fb 100644
--- a/types/urijs/test/urijs-dom.test.ts
+++ b/types/urijs/test/urijs-dom.test.ts
@@ -1,6 +1,6 @@
///
import URI = require("urijs");
-import * as URITemplate from "urijs/src/URITemplate";
+import URITemplate from "urijs/src/URITemplate";
declare var $: (arg?: any) => JQuery;
// Scope it so doesn't name conflict with other tests.
diff --git a/types/urijs/test/urijs-nodejs.test.ts b/types/urijs/test/urijs-nodejs.test.ts
index 6512e0d36fd993..0d09a26016ea79 100644
--- a/types/urijs/test/urijs-nodejs.test.ts
+++ b/types/urijs/test/urijs-nodejs.test.ts
@@ -1,5 +1,5 @@
import URI = require("urijs");
-import * as URITemplate from "urijs/src/URITemplate";
+import URITemplate from "urijs/src/URITemplate";
declare var $: (arg?: any) => JQuery;
// Scope it so doesn't name conflict with other tests.
diff --git a/types/urijs/tsconfig.json b/types/urijs/tsconfig.json
index f143cfcb796170..e9e9da72774382 100644
--- a/types/urijs/tsconfig.json
+++ b/types/urijs/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/urlparser/tsconfig.json b/types/urlparser/tsconfig.json
index 92a7f742b6973d..f028b428b5007d 100644
--- a/types/urlparser/tsconfig.json
+++ b/types/urlparser/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/use-ackee/tsconfig.json b/types/use-ackee/tsconfig.json
index af94824871571b..7bcaa9792c2414 100644
--- a/types/use-ackee/tsconfig.json
+++ b/types/use-ackee/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/use-ackee/use-ackee-tests.ts b/types/use-ackee/use-ackee-tests.ts
index 95cdc3e4fd6699..de4077f14160cf 100644
--- a/types/use-ackee/use-ackee-tests.ts
+++ b/types/use-ackee/use-ackee-tests.ts
@@ -1,6 +1,6 @@
import { useAckee as useAckeeNamed } from "use-ackee";
// eslint-disable-next-line no-duplicate-imports
-import * as useAckee from "use-ackee";
+import useAckee from "use-ackee";
useAckeeNamed(
"/current/path",
diff --git a/types/use-double-click/tsconfig.json b/types/use-double-click/tsconfig.json
index c0f4522439b8c2..fd96140b868694 100644
--- a/types/use-double-click/tsconfig.json
+++ b/types/use-double-click/tsconfig.json
@@ -12,8 +12,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/uws/index.d.ts b/types/uws/index.d.ts
index b2cd19c86bd038..10cd10e45221c0 100644
--- a/types/uws/index.d.ts
+++ b/types/uws/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as events from "events";
+import events = require("events");
import * as http from "http";
import * as https from "https";
import * as net from "net";
diff --git a/types/valid-data-url/tsconfig.json b/types/valid-data-url/tsconfig.json
index 0128395cb88e9f..1543f5cd180459 100644
--- a/types/valid-data-url/tsconfig.json
+++ b/types/valid-data-url/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/valid-data-url/valid-data-url-tests.ts b/types/valid-data-url/valid-data-url-tests.ts
index ed8dcf9ec4828c..3ebc6443a11e8b 100644
--- a/types/valid-data-url/valid-data-url-tests.ts
+++ b/types/valid-data-url/valid-data-url-tests.ts
@@ -1,3 +1,3 @@
-import * as validDataUrl from "valid-data-url";
+import validDataUrl from "valid-data-url";
validDataUrl("data:text/plain;base64,SGVsbG8sIFdvcmxkIQ%3D%3D");
diff --git a/types/vanilla-masker/tsconfig.json b/types/vanilla-masker/tsconfig.json
index 7fa93f1c4caba0..e2424b4a518f7f 100644
--- a/types/vanilla-masker/tsconfig.json
+++ b/types/vanilla-masker/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/vanilla-masker/vanilla-masker-tests.ts b/types/vanilla-masker/vanilla-masker-tests.ts
index 1003d4bc00e823..904870c29439fb 100644
--- a/types/vanilla-masker/vanilla-masker-tests.ts
+++ b/types/vanilla-masker/vanilla-masker-tests.ts
@@ -1,4 +1,4 @@
-import * as VMasker from "vanilla-masker";
+import VMasker from "vanilla-masker";
// Masking input element to money.
const el = document.querySelector("data-js-input") as Element;
diff --git a/types/vara/tsconfig.json b/types/vara/tsconfig.json
index 2cca0be21ebad2..09e6afc0177bf2 100644
--- a/types/vara/tsconfig.json
+++ b/types/vara/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/vara/vara-tests.ts b/types/vara/vara-tests.ts
index f1528219aa7ba5..51cb872552aa6d 100644
--- a/types/vara/vara-tests.ts
+++ b/types/vara/vara-tests.ts
@@ -1,5 +1,5 @@
import Vara = require("vara");
-import * as Vara2 from "vara";
+import Vara2 from "vara";
const vara = new Vara("#root", "font.json", [
{
diff --git a/types/vcf/tsconfig.json b/types/vcf/tsconfig.json
index 379953665e642e..902a5ea1bafe63 100644
--- a/types/vcf/tsconfig.json
+++ b/types/vcf/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/vcf/vcf-tests.ts b/types/vcf/vcf-tests.ts
index f45659d59e9ced..9c948b7d2f0142 100644
--- a/types/vcf/vcf-tests.ts
+++ b/types/vcf/vcf-tests.ts
@@ -1,4 +1,4 @@
-import * as vCard from "vcf";
+import vCard from "vcf";
const card = new vCard();
diff --git a/types/verror/tsconfig.json b/types/verror/tsconfig.json
index aa55468c88a9e6..15f275849c14ef 100644
--- a/types/verror/tsconfig.json
+++ b/types/verror/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"es2021.promise",
diff --git a/types/vertx__eventbus-bridge-client.js/tsconfig.json b/types/vertx__eventbus-bridge-client.js/tsconfig.json
index 9f525bb135c1f3..962640521c728a 100644
--- a/types/vertx__eventbus-bridge-client.js/tsconfig.json
+++ b/types/vertx__eventbus-bridge-client.js/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/vertx__eventbus-bridge-client.js/vertx__eventbus-bridge-client.js-tests.ts b/types/vertx__eventbus-bridge-client.js/vertx__eventbus-bridge-client.js-tests.ts
index 94c01fd6f59230..1debf748c0894f 100644
--- a/types/vertx__eventbus-bridge-client.js/vertx__eventbus-bridge-client.js-tests.ts
+++ b/types/vertx__eventbus-bridge-client.js/vertx__eventbus-bridge-client.js-tests.ts
@@ -1,3 +1,3 @@
-import * as EventBus from "vertx__eventbus-bridge-client.js";
+import EventBus from "vertx__eventbus-bridge-client.js";
const eb = new EventBus("http://localhost:8080");
diff --git a/types/vhost/tsconfig.json b/types/vhost/tsconfig.json
index 24861c88dc76d4..27424863497d22 100644
--- a/types/vhost/tsconfig.json
+++ b/types/vhost/tsconfig.json
@@ -7,7 +7,6 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"strictNullChecks": true,
"types": [],
"noEmit": true,
diff --git a/types/vinyl-fs/index.d.ts b/types/vinyl-fs/index.d.ts
index 4e5bab4e712ba6..2b7d3f4fbe6814 100644
--- a/types/vinyl-fs/index.d.ts
+++ b/types/vinyl-fs/index.d.ts
@@ -8,9 +8,9 @@ declare global {
}
}
-import * as _events from "events";
-import * as globStream from "glob-stream";
-import * as File from "vinyl";
+import _events = require("events");
+import globStream = require("glob-stream");
+import File = require("vinyl");
export interface SrcOptions extends globStream.Options {
/**
diff --git a/types/vinyl-fs/v0/index.d.ts b/types/vinyl-fs/v0/index.d.ts
index 2b57ddcded3b09..80008c1631b6f4 100644
--- a/types/vinyl-fs/v0/index.d.ts
+++ b/types/vinyl-fs/v0/index.d.ts
@@ -8,9 +8,9 @@ declare global {
}
}
-import * as _events from "events";
-import * as globStream from "glob-stream";
-import * as File from "vinyl";
+import _events = require("events");
+import globStream = require("glob-stream");
+import File = require("vinyl");
export interface SrcOptions extends globStream.Options {
/** Prevents stream from emitting an error when file not found. */
diff --git a/types/vinyl-fs/v1/index.d.ts b/types/vinyl-fs/v1/index.d.ts
index 835e0e387a61fe..52b0dbd3d60610 100644
--- a/types/vinyl-fs/v1/index.d.ts
+++ b/types/vinyl-fs/v1/index.d.ts
@@ -8,9 +8,9 @@ declare global {
}
}
-import * as _events from "events";
-import * as globStream from "glob-stream";
-import * as File from "vinyl";
+import _events = require("events");
+import globStream = require("glob-stream");
+import File = require("vinyl");
export interface SrcOptions extends globStream.Options {
/** Prevents stream from emitting an error when file not found. */
diff --git a/types/vinyl/vinyl-tests.ts b/types/vinyl/vinyl-tests.ts
index 14e4697bcc8f44..a036af34e6aac0 100644
--- a/types/vinyl/vinyl-tests.ts
+++ b/types/vinyl/vinyl-tests.ts
@@ -1,5 +1,5 @@
import * as fs from "fs";
-import * as path from "path";
+import path from "path";
import expect = require("expect");
const miss = require("mississippi");
const cloneable = require("cloneable-readable");
diff --git a/types/vite-plugin-react-svg/tsconfig.json b/types/vite-plugin-react-svg/tsconfig.json
index 0aa688d438a1d7..b70c4bda29d4ae 100644
--- a/types/vite-plugin-react-svg/tsconfig.json
+++ b/types/vite-plugin-react-svg/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/vmap/tsconfig.json b/types/vmap/tsconfig.json
index 001ec3ee8357dc..c1bb3ccad10496 100644
--- a/types/vmap/tsconfig.json
+++ b/types/vmap/tsconfig.json
@@ -9,7 +9,6 @@
"noImplicitThis": true,
"strictFunctionTypes": true,
"strictNullChecks": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/vnu-jar/tsconfig.json b/types/vnu-jar/tsconfig.json
index 247b50ffa1f05c..efe8a040aa095e 100644
--- a/types/vnu-jar/tsconfig.json
+++ b/types/vnu-jar/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/vssln-parser/tsconfig.json b/types/vssln-parser/tsconfig.json
index 22b11290b77746..37272f93a9540b 100644
--- a/types/vssln-parser/tsconfig.json
+++ b/types/vssln-parser/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/vssln-parser/vssln-parser-tests.ts b/types/vssln-parser/vssln-parser-tests.ts
index ca45a42b7d4c78..66f6d795704bdf 100644
--- a/types/vssln-parser/vssln-parser-tests.ts
+++ b/types/vssln-parser/vssln-parser-tests.ts
@@ -1,5 +1,5 @@
import * as fs from "fs";
-import * as vsslnparse from "vssln-parser";
+import vsslnparse from "vssln-parser";
vsslnparse("", solution => {
solution.visualStudioVersion; // $ExpectType string | undefined
diff --git a/types/vt-pbf/index.d.ts b/types/vt-pbf/index.d.ts
index b96ba4ede90d91..e43f66ad7fe64a 100644
--- a/types/vt-pbf/index.d.ts
+++ b/types/vt-pbf/index.d.ts
@@ -1,5 +1,5 @@
import * as GJ from "geojson";
-import * as geojsonvt from "geojson-vt";
+import geojsonvt = require("geojson-vt");
type RawGeometry = number | RawGeometry[];
diff --git a/types/vt-pbf/tsconfig.json b/types/vt-pbf/tsconfig.json
index 7830fcbacb85f3..a459327cd38d0b 100644
--- a/types/vt-pbf/tsconfig.json
+++ b/types/vt-pbf/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/vt-pbf/vt-pbf-tests.ts b/types/vt-pbf/vt-pbf-tests.ts
index 473bfae2719589..718bbdf3fd5b69 100644
--- a/types/vt-pbf/vt-pbf-tests.ts
+++ b/types/vt-pbf/vt-pbf-tests.ts
@@ -1,5 +1,5 @@
import { GeoJSON } from "geojson";
-import * as geojsonvt from "geojson-vt";
+import geojsonvt from "geojson-vt";
import { fromGeojsonVt, fromVectorTileJs, GeoJSONWrapper } from "vt-pbf";
const geojson = {
diff --git a/types/vtex.js/tsconfig.json b/types/vtex.js/tsconfig.json
index 4e1c770e8b23b4..ef5e43672bd968 100644
--- a/types/vtex.js/tsconfig.json
+++ b/types/vtex.js/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/vue-clickaway/tsconfig.json b/types/vue-clickaway/tsconfig.json
index ab1ad52ba728d9..91193738de317f 100755
--- a/types/vue-clickaway/tsconfig.json
+++ b/types/vue-clickaway/tsconfig.json
@@ -12,7 +12,6 @@
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
- "esModuleInterop": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"types": [],
diff --git a/types/vue-json-compare/tsconfig.json b/types/vue-json-compare/tsconfig.json
index 5425607ce95b51..1f85d492f57951 100755
--- a/types/vue-json-compare/tsconfig.json
+++ b/types/vue-json-compare/tsconfig.json
@@ -10,7 +10,6 @@
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
- "esModuleInterop": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"types": [],
diff --git a/types/vue-moment/tsconfig.json b/types/vue-moment/tsconfig.json
index ee31e4127e25fd..94a9b4ee2802b3 100644
--- a/types/vue-moment/tsconfig.json
+++ b/types/vue-moment/tsconfig.json
@@ -5,7 +5,6 @@
"es6",
"dom"
],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
diff --git a/types/vue-scroll-up/tsconfig.json b/types/vue-scroll-up/tsconfig.json
index 984b20fe9b0100..284e911af026b2 100755
--- a/types/vue-scroll-up/tsconfig.json
+++ b/types/vue-scroll-up/tsconfig.json
@@ -12,7 +12,6 @@
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
- "esModuleInterop": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"types": [],
diff --git a/types/vuelidate/tsconfig.json b/types/vuelidate/tsconfig.json
index 767886d1330077..8ee5a65e4b5ec9 100644
--- a/types/vuelidate/tsconfig.json
+++ b/types/vuelidate/tsconfig.json
@@ -12,7 +12,6 @@
"strictNullChecks": true,
"strictFunctionTypes": true,
"noImplicitThis": true,
- "esModuleInterop": true,
"noEmit": true,
"forceConsistentCasingInFileNames": true,
"types": [],
diff --git a/types/walk/walk-tests.ts b/types/walk/walk-tests.ts
index 4c6cc2b07e8efd..1d23e5609fa189 100644
--- a/types/walk/walk-tests.ts
+++ b/types/walk/walk-tests.ts
@@ -1,4 +1,4 @@
-import * as walk from "walk";
+import walk from "walk";
const options: walk.WalkOptions = {
followLinks: true,
diff --git a/types/wallabyjs/tsconfig.json b/types/wallabyjs/tsconfig.json
index b38d1b2b93fc61..b94b8eef0124bb 100644
--- a/types/wallabyjs/tsconfig.json
+++ b/types/wallabyjs/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/watermark-dom/tsconfig.json b/types/watermark-dom/tsconfig.json
index 152896cf1b0522..aeec429afcdd0d 100644
--- a/types/watermark-dom/tsconfig.json
+++ b/types/watermark-dom/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/webpack-assets-manifest/tsconfig.json b/types/webpack-assets-manifest/tsconfig.json
index 6a70cdd56d1a6c..d3da0d951c8944 100644
--- a/types/webpack-assets-manifest/tsconfig.json
+++ b/types/webpack-assets-manifest/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-assets-manifest/v4/tsconfig.json b/types/webpack-assets-manifest/v4/tsconfig.json
index 6a70cdd56d1a6c..d3da0d951c8944 100644
--- a/types/webpack-assets-manifest/v4/tsconfig.json
+++ b/types/webpack-assets-manifest/v4/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks/tsconfig.json b/types/webpack-blocks/tsconfig.json
index ff4e7a603cc9aa..a98fb9dcc25cd2 100644
--- a/types/webpack-blocks/tsconfig.json
+++ b/types/webpack-blocks/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__assets/tsconfig.json b/types/webpack-blocks__assets/tsconfig.json
index 474c275a1f3480..5f7f3b44ca4a57 100644
--- a/types/webpack-blocks__assets/tsconfig.json
+++ b/types/webpack-blocks__assets/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__babel/tsconfig.json b/types/webpack-blocks__babel/tsconfig.json
index 39966f7847a016..d4013c973bebec 100644
--- a/types/webpack-blocks__babel/tsconfig.json
+++ b/types/webpack-blocks__babel/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__core/tsconfig.json b/types/webpack-blocks__core/tsconfig.json
index 08813d1f423f1b..bbb13d76a01498 100644
--- a/types/webpack-blocks__core/tsconfig.json
+++ b/types/webpack-blocks__core/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__dev-server/tsconfig.json b/types/webpack-blocks__dev-server/tsconfig.json
index b5384da6718801..b6fa743dbf40d2 100644
--- a/types/webpack-blocks__dev-server/tsconfig.json
+++ b/types/webpack-blocks__dev-server/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__extract-text/tsconfig.json b/types/webpack-blocks__extract-text/tsconfig.json
index 1bf719d04021e2..2ed541f1d6e687 100644
--- a/types/webpack-blocks__extract-text/tsconfig.json
+++ b/types/webpack-blocks__extract-text/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__postcss/tsconfig.json b/types/webpack-blocks__postcss/tsconfig.json
index 8a2c72702c11cc..8d5ec1ad8aee73 100644
--- a/types/webpack-blocks__postcss/tsconfig.json
+++ b/types/webpack-blocks__postcss/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__sass/tsconfig.json b/types/webpack-blocks__sass/tsconfig.json
index d0593ad8edba71..e99770cedc7e80 100644
--- a/types/webpack-blocks__sass/tsconfig.json
+++ b/types/webpack-blocks__sass/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__typescript/tsconfig.json b/types/webpack-blocks__typescript/tsconfig.json
index 94ec2d53a53c38..950ba25d2adc0b 100644
--- a/types/webpack-blocks__typescript/tsconfig.json
+++ b/types/webpack-blocks__typescript/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__uglify/tsconfig.json b/types/webpack-blocks__uglify/tsconfig.json
index a0273b6dfe4d0e..0e2074c1a7d755 100644
--- a/types/webpack-blocks__uglify/tsconfig.json
+++ b/types/webpack-blocks__uglify/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-blocks__webpack/tsconfig.json b/types/webpack-blocks__webpack/tsconfig.json
index 0f68d9939f7136..deec30c752357c 100644
--- a/types/webpack-blocks__webpack/tsconfig.json
+++ b/types/webpack-blocks__webpack/tsconfig.json
@@ -8,7 +8,6 @@
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
- "esModuleInterop": true,
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
diff --git a/types/webpack-bugsnag-plugins/index.d.ts b/types/webpack-bugsnag-plugins/index.d.ts
index 8c481f0942424a..2a864df890ed86 100644
--- a/types/webpack-bugsnag-plugins/index.d.ts
+++ b/types/webpack-bugsnag-plugins/index.d.ts
@@ -1,4 +1,4 @@
-import * as webpack from "webpack";
+import webpack = require("webpack");
export interface SourceMapUploaderOptions {
/**
diff --git a/types/webpack-dotenv-plugin/index.d.ts b/types/webpack-dotenv-plugin/index.d.ts
index 22cb9b1b373d9f..0d54fba003fd94 100644
--- a/types/webpack-dotenv-plugin/index.d.ts
+++ b/types/webpack-dotenv-plugin/index.d.ts
@@ -1,4 +1,4 @@
-import * as webpack from "webpack";
+import webpack = require("webpack");
declare namespace WebpackDotenvPlugin {
interface Options {
diff --git a/types/webpack-hot-client/index.d.ts b/types/webpack-hot-client/index.d.ts
index 73dfb796f22557..f31557421cfb72 100644
--- a/types/webpack-hot-client/index.d.ts
+++ b/types/webpack-hot-client/index.d.ts
@@ -1,7 +1,7 @@
///
import * as net from "net";
-import * as webpack from "webpack";
+import webpack = require("webpack");
import { Server } from "ws";
export = WebpackHotClient;
diff --git a/types/webpack-hot-middleware/index.d.ts b/types/webpack-hot-middleware/index.d.ts
index f85ad417cda924..906b4a5ef6d33a 100644
--- a/types/webpack-hot-middleware/index.d.ts
+++ b/types/webpack-hot-middleware/index.d.ts
@@ -1,5 +1,5 @@
import { NextHandleFunction } from "connect";
-import * as webpack from "webpack";
+import webpack = require("webpack");
export = WebpackHotMiddleware;
diff --git a/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts b/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts
index acb7e7c8fe56aa..6eccb67ba2e8d5 100644
--- a/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts
+++ b/types/webpack-hot-middleware/webpack-hot-middleware-tests.ts
@@ -13,7 +13,7 @@ webpackHotMiddlewareInstance = webpackHotMiddleware(compiler, {
heartbeat: 2000,
});
-const multiCompiler = webpack([webpack.config.getNormalizedWebpackOptions({})])!;
+const multiCompiler = webpack([])!;
webpackHotMiddlewareInstance = webpackHotMiddleware(multiCompiler);
diff --git a/types/webpack-plugin-serve/index.d.ts b/types/webpack-plugin-serve/index.d.ts
index 49e085e669420a..96ec3820ec7274 100644
--- a/types/webpack-plugin-serve/index.d.ts
+++ b/types/webpack-plugin-serve/index.d.ts
@@ -5,7 +5,7 @@ import type { GlobbyOptions } from "globby";
import { Options as HttpProxyMiddlewareConfig, RequestHandler as Proxy } from "http-proxy-middleware";
import { SecureServerOptions as Http2SecureServerOptions, ServerOptions as Http2ServerOptions } from "http2";
import { ServerOptions as HttpsServerOptions } from "https";
-import * as Koa from "koa";
+import Koa = require("koa");
import { CompressOptions } from "koa-compress";
import { Options as KoaStaticOptions } from "koa-static";
diff --git a/types/webpack-serve/index.d.ts b/types/webpack-serve/index.d.ts
index aa905eb2a6f2f3..33d796e7921f15 100644
--- a/types/webpack-serve/index.d.ts
+++ b/types/webpack-serve/index.d.ts
@@ -1,11 +1,11 @@
///
import * as https from "https";
-import * as koa from "koa";
+import koa = require("koa");
import * as net from "net";
-import * as webpack from "webpack";
-import * as webpackDevMiddleware from "webpack-dev-middleware";
-import * as webpackHotClient from "webpack-hot-client";
+import webpack = require("webpack");
+import webpackDevMiddleware = require("webpack-dev-middleware");
+import webpackHotClient = require("webpack-hot-client");
declare module "webpack" {
interface Configuration {
diff --git a/types/webpack-serve/v1/index.d.ts b/types/webpack-serve/v1/index.d.ts
index 8fa80a14810b22..32c6fd929e652a 100644
--- a/types/webpack-serve/v1/index.d.ts
+++ b/types/webpack-serve/v1/index.d.ts
@@ -1,10 +1,10 @@
///
import * as https from "https";
-import * as koa from "koa";
-import * as webpack from "webpack";
-import * as webpackDevMiddleware from "webpack-dev-middleware";
-import * as webpackHotClient from "webpack-hot-client";
+import koa = require("koa");
+import webpack = require("webpack");
+import webpackDevMiddleware = require("webpack-dev-middleware");
+import webpackHotClient = require("webpack-hot-client");
export = WebpackServe;
diff --git a/types/webpack-stream/index.d.ts b/types/webpack-stream/index.d.ts
index a2e7acfb527942..ff135f5b2fa751 100644
--- a/types/webpack-stream/index.d.ts
+++ b/types/webpack-stream/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as webpack from "webpack";
+import webpack = require("webpack");
export = webpackStream;
diff --git a/types/webpack-stream/webpack-stream-tests.ts b/types/webpack-stream/webpack-stream-tests.ts
index bcfa9cd29a1550..20426654b8fb75 100644
--- a/types/webpack-stream/webpack-stream-tests.ts
+++ b/types/webpack-stream/webpack-stream-tests.ts
@@ -1,4 +1,4 @@
-import * as webpack from "webpack";
+import webpack from "webpack";
import webpackStream = require("webpack-stream");
let output: NodeJS.ReadWriteStream;
diff --git a/types/website-scraper/index.d.ts b/types/website-scraper/index.d.ts
index f276a9a912350f..0ed4a2a08b0c08 100644
--- a/types/website-scraper/index.d.ts
+++ b/types/website-scraper/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as request from "request";
+import request = require("request");
declare namespace websiteScraper {
interface Url {
diff --git a/types/websocket-async/tsconfig.json b/types/websocket-async/tsconfig.json
index 85bff5b3cee515..494370b555e423 100644
--- a/types/websocket-async/tsconfig.json
+++ b/types/websocket-async/tsconfig.json
@@ -13,7 +13,6 @@
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true,
- "esModuleInterop": true,
"strictFunctionTypes": true
},
"files": [
diff --git a/types/weighted-random-object/tsconfig.json b/types/weighted-random-object/tsconfig.json
index d8c876b5338da3..0aaab979879bc9 100644
--- a/types/weighted-random-object/tsconfig.json
+++ b/types/weighted-random-object/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/weixin-app/tsconfig.json b/types/weixin-app/tsconfig.json
index eeb3549dff1b26..cbc0ea609a9532 100644
--- a/types/weixin-app/tsconfig.json
+++ b/types/weixin-app/tsconfig.json
@@ -11,8 +11,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/winbox/tsconfig.json b/types/winbox/tsconfig.json
index 3e737c60cd70e6..2c7a7f67774edf 100644
--- a/types/winbox/tsconfig.json
+++ b/types/winbox/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/window-size/tsconfig.json b/types/window-size/tsconfig.json
index 78e8ce065a90ca..f45b4fc3cb7496 100644
--- a/types/window-size/tsconfig.json
+++ b/types/window-size/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/windows-script-host/tsconfig.json b/types/windows-script-host/tsconfig.json
index cd334ad27ec953..2368ac357bd23f 100644
--- a/types/windows-script-host/tsconfig.json
+++ b/types/windows-script-host/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/wink-pos-tagger/tsconfig.json b/types/wink-pos-tagger/tsconfig.json
index fca35895f44ef5..0743013501fc11 100644
--- a/types/wink-pos-tagger/tsconfig.json
+++ b/types/wink-pos-tagger/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/wink-pos-tagger/wink-pos-tagger-tests.ts b/types/wink-pos-tagger/wink-pos-tagger-tests.ts
index 35445d92ae6826..684307ba8c2aba 100644
--- a/types/wink-pos-tagger/wink-pos-tagger-tests.ts
+++ b/types/wink-pos-tagger/wink-pos-tagger-tests.ts
@@ -1,5 +1,5 @@
-import * as Tagger from "wink-pos-tagger";
-import * as Tokenizer from "wink-tokenizer";
+import Tagger from "wink-pos-tagger";
+import Tokenizer from "wink-tokenizer";
const myTagger = new Tagger();
const myTokenizer = new Tokenizer();
diff --git a/types/wink-tokenizer/tsconfig.json b/types/wink-tokenizer/tsconfig.json
index 2e157bc979840b..86d9ebc11f1dc9 100644
--- a/types/wink-tokenizer/tsconfig.json
+++ b/types/wink-tokenizer/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/wink-tokenizer/wink-tokenizer-tests.ts b/types/wink-tokenizer/wink-tokenizer-tests.ts
index a706c39238c69d..0294c6ce220064 100644
--- a/types/wink-tokenizer/wink-tokenizer-tests.ts
+++ b/types/wink-tokenizer/wink-tokenizer-tests.ts
@@ -1,4 +1,4 @@
-import * as Tokenizer from "wink-tokenizer";
+import Tokenizer from "wink-tokenizer";
const tokenizer = new Tokenizer();
diff --git a/types/winston-loggly-bulk/tsconfig.json b/types/winston-loggly-bulk/tsconfig.json
index 3b5d132949065a..816c11b53851bd 100644
--- a/types/winston-loggly-bulk/tsconfig.json
+++ b/types/winston-loggly-bulk/tsconfig.json
@@ -4,7 +4,6 @@
"lib": [
"es6"
],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
diff --git a/types/winston-syslog/index.d.ts b/types/winston-syslog/index.d.ts
index 9333deba5b50c9..fcc4d4d55c6c34 100644
--- a/types/winston-syslog/index.d.ts
+++ b/types/winston-syslog/index.d.ts
@@ -2,7 +2,7 @@
import * as dgram from "dgram";
import * as glossy from "glossy";
import * as net from "net";
-import * as Transport from "winston-transport";
+import Transport = require("winston-transport");
export interface SyslogTransportOptions extends Transport.TransportStreamOptions {
host?: string | undefined;
diff --git a/types/winston-syslog/v1/tsconfig.json b/types/winston-syslog/v1/tsconfig.json
index 4c64d77478597b..efb15fef161c8f 100644
--- a/types/winston-syslog/v1/tsconfig.json
+++ b/types/winston-syslog/v1/tsconfig.json
@@ -10,7 +10,6 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"files": [
diff --git a/types/wordpress__admin/components/wp-backbone.d.ts b/types/wordpress__admin/components/wp-backbone.d.ts
index 59c33391ddde35..249bdabb9c1471 100644
--- a/types/wordpress__admin/components/wp-backbone.d.ts
+++ b/types/wordpress__admin/components/wp-backbone.d.ts
@@ -1,5 +1,5 @@
import * as Backbone from "backbone";
-import * as _ from "lodash";
+import _ = require("lodash");
export type WpBackboneViewList = WpBackBoneView[] | { [key: string]: WpBackBoneView[] };
diff --git a/types/wordpress__block-editor/wordpress__block-editor-tests.tsx b/types/wordpress__block-editor/wordpress__block-editor-tests.tsx
index 323c0458759b2c..ddc76ca13893c2 100644
--- a/types/wordpress__block-editor/wordpress__block-editor-tests.tsx
+++ b/types/wordpress__block-editor/wordpress__block-editor-tests.tsx
@@ -1,4 +1,4 @@
-import * as be from "@wordpress/block-editor";
+import be from "@wordpress/block-editor";
import * as UseBlockProps from "@wordpress/block-editor/components/use-block-props";
import { BlockInstance, createBlock } from "@wordpress/blocks";
import { dispatch, select } from "@wordpress/data";
diff --git a/types/wordpress__blocks/wordpress__blocks-tests.tsx b/types/wordpress__blocks/wordpress__blocks-tests.tsx
index 9eccde5d0506f9..b9863663530dba 100644
--- a/types/wordpress__blocks/wordpress__blocks-tests.tsx
+++ b/types/wordpress__blocks/wordpress__blocks-tests.tsx
@@ -1,4 +1,4 @@
-import * as blocks from "@wordpress/blocks";
+import blocks from "@wordpress/blocks";
import { dispatch, select } from "@wordpress/data";
// $ExpectType BlocksStoreDescriptor
diff --git a/types/wordpress__edit-post/wordpress__edit-post-tests.tsx b/types/wordpress__edit-post/wordpress__edit-post-tests.tsx
index 54979530b25887..2cfd720db77ce6 100644
--- a/types/wordpress__edit-post/wordpress__edit-post-tests.tsx
+++ b/types/wordpress__edit-post/wordpress__edit-post-tests.tsx
@@ -1,5 +1,5 @@
import { dispatch, select } from "@wordpress/data";
-import * as ep from "@wordpress/edit-post";
+import ep from "@wordpress/edit-post";
// $ExpectType EditPostStoreDescriptor
ep.store;
diff --git a/types/worker-plugin/index.d.ts b/types/worker-plugin/index.d.ts
index f26f1bb896d59d..3d9c8f55b2466b 100644
--- a/types/worker-plugin/index.d.ts
+++ b/types/worker-plugin/index.d.ts
@@ -1,4 +1,4 @@
-import * as webpack from "webpack";
+import webpack = require("webpack");
export = WorkerPlugin;
diff --git a/types/wpapi/tsconfig.json b/types/wpapi/tsconfig.json
index 969414769de839..608bc2c84541bd 100644
--- a/types/wpapi/tsconfig.json
+++ b/types/wpapi/tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "ES6",
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"dom"
diff --git a/types/wpapi/wpapi-tests.ts b/types/wpapi/wpapi-tests.ts
index a53e7a9df50364..8fdd28b38c0f32 100644
--- a/types/wpapi/wpapi-tests.ts
+++ b/types/wpapi/wpapi-tests.ts
@@ -1,5 +1,5 @@
// Initialize the client
-import * as WPAPI from "wpapi";
+import WPAPI from "wpapi";
const wp = new WPAPI({ endpoint: "http://src.wordpress-develop.dev/wp-json" });
diff --git a/types/wreck/index.d.ts b/types/wreck/index.d.ts
index 1f4f92be0c7321..c7896fa749c916 100644
--- a/types/wreck/index.d.ts
+++ b/types/wreck/index.d.ts
@@ -1,9 +1,9 @@
///
-import * as Boom from "boom";
-import * as events from "events";
+import Boom = require("boom");
+import events = require("events");
import * as http from "http";
-import * as stream from "stream";
+import stream = require("stream");
import * as Url from "url";
interface RequestOptions {
diff --git a/types/write-good/tsconfig.json b/types/write-good/tsconfig.json
index b90bfb4fd22d54..fdc7fc0521d786 100644
--- a/types/write-good/tsconfig.json
+++ b/types/write-good/tsconfig.json
@@ -10,7 +10,6 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"files": [
diff --git a/types/wu/tsconfig.json b/types/wu/tsconfig.json
index 9462e50b61eccd..fb5ff8bfc12b67 100644
--- a/types/wu/tsconfig.json
+++ b/types/wu/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/xdate/tsconfig.json b/types/xdate/tsconfig.json
index c3908beacb35df..031b9b9b7db210 100644
--- a/types/xdate/tsconfig.json
+++ b/types/xdate/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/xdialog/tsconfig.json b/types/xdialog/tsconfig.json
index 9abb0d9014e707..6e8d71ce690ff3 100644
--- a/types/xdialog/tsconfig.json
+++ b/types/xdialog/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"DOM"
@@ -11,8 +11,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/xml-c14n/tsconfig.json b/types/xml-c14n/tsconfig.json
index 8c32f9482eb070..33e246f645fb9b 100644
--- a/types/xml-c14n/tsconfig.json
+++ b/types/xml-c14n/tsconfig.json
@@ -5,7 +5,6 @@
"es6",
"dom"
],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
diff --git a/types/xml-flow/tsconfig.json b/types/xml-flow/tsconfig.json
index 96bccc432ad6f4..b6be3408a5fee7 100644
--- a/types/xml-flow/tsconfig.json
+++ b/types/xml-flow/tsconfig.json
@@ -10,7 +10,6 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "esModuleInterop": true,
"forceConsistentCasingInFileNames": true
},
"files": [
diff --git a/types/xmpp__client-core/tsconfig.json b/types/xmpp__client-core/tsconfig.json
index 6c780e737e96f4..c09a9bf8bf871e 100644
--- a/types/xmpp__client-core/tsconfig.json
+++ b/types/xmpp__client-core/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__client/index.d.ts b/types/xmpp__client/index.d.ts
index e2fa0144e48994..be081cedd75f52 100644
--- a/types/xmpp__client/index.d.ts
+++ b/types/xmpp__client/index.d.ts
@@ -8,7 +8,7 @@ import { Resource } from "@xmpp/resource-binding";
import { Credentials, SASL } from "@xmpp/sasl";
import { StreamFeatures } from "@xmpp/stream-features";
import { StreamManagement } from "@xmpp/stream-management";
-import * as koaCompose from "koa-compose";
+import koaCompose = require("koa-compose");
/**
* An XMPP client is an entity that connects to an XMPP server.
diff --git a/types/xmpp__client/tsconfig.json b/types/xmpp__client/tsconfig.json
index 3913b1b5d765d0..b16eacc060ff3e 100644
--- a/types/xmpp__client/tsconfig.json
+++ b/types/xmpp__client/tsconfig.json
@@ -10,7 +10,8 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/xmpp__component-core/tsconfig.json b/types/xmpp__component-core/tsconfig.json
index 33c098802ef9a7..72641d8e920538 100644
--- a/types/xmpp__component-core/tsconfig.json
+++ b/types/xmpp__component-core/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__component/tsconfig.json b/types/xmpp__component/tsconfig.json
index ff3b8a3a67b1f4..76e8eeb9ef1103 100644
--- a/types/xmpp__component/tsconfig.json
+++ b/types/xmpp__component/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__connection-tcp/tsconfig.json b/types/xmpp__connection-tcp/tsconfig.json
index 500e6935df9390..d94ae93d149eb3 100644
--- a/types/xmpp__connection-tcp/tsconfig.json
+++ b/types/xmpp__connection-tcp/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__connection/tsconfig.json b/types/xmpp__connection/tsconfig.json
index 0176fa1ea47121..238bf1abcae252 100644
--- a/types/xmpp__connection/tsconfig.json
+++ b/types/xmpp__connection/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__debug/tsconfig.json b/types/xmpp__debug/tsconfig.json
index ce3142bc88283e..a33d31f3573cd1 100644
--- a/types/xmpp__debug/tsconfig.json
+++ b/types/xmpp__debug/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__error/tsconfig.json b/types/xmpp__error/tsconfig.json
index 0646b6e8b2866d..eb95ddcb4656b5 100644
--- a/types/xmpp__error/tsconfig.json
+++ b/types/xmpp__error/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__events/index.d.ts b/types/xmpp__events/index.d.ts
index 9e70ffe62bced6..a592a9d85ee189 100644
--- a/types/xmpp__events/index.d.ts
+++ b/types/xmpp__events/index.d.ts
@@ -1,6 +1,6 @@
///
-import * as events from "events";
+import events = require("events");
export const EventEmitter: typeof events.EventEmitter;
export type EventEmitter = events.EventEmitter;
diff --git a/types/xmpp__iq/callee.d.ts b/types/xmpp__iq/callee.d.ts
index 8471166506f6b1..56ed2dda49ee5c 100644
--- a/types/xmpp__iq/callee.d.ts
+++ b/types/xmpp__iq/callee.d.ts
@@ -1,5 +1,5 @@
import { Entity, IncomingContext, Middleware } from "@xmpp/middleware";
-import * as koaCompose from "koa-compose";
+import koaCompose = require("koa-compose");
export = iqCallee;
diff --git a/types/xmpp__iq/tsconfig.json b/types/xmpp__iq/tsconfig.json
index dc7ba75933a666..badab7daeaf168 100644
--- a/types/xmpp__iq/tsconfig.json
+++ b/types/xmpp__iq/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__middleware/index.d.ts b/types/xmpp__middleware/index.d.ts
index 52b39f8eb80f0c..76e3f7364c7045 100644
--- a/types/xmpp__middleware/index.d.ts
+++ b/types/xmpp__middleware/index.d.ts
@@ -1,4 +1,4 @@
-import * as koaCompose from "koa-compose";
+import koaCompose = require("koa-compose");
import Connection = require("@xmpp/connection");
import { Element } from "@xmpp/xml";
import IncomingCtx = require("./lib/IncomingContext");
diff --git a/types/xmpp__middleware/tsconfig.json b/types/xmpp__middleware/tsconfig.json
index 5ffdb7ccca530c..dc4a13d8cc6e84 100644
--- a/types/xmpp__middleware/tsconfig.json
+++ b/types/xmpp__middleware/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__reconnect/tsconfig.json b/types/xmpp__reconnect/tsconfig.json
index b0f0270d5abaea..a5e86a2a53f77c 100644
--- a/types/xmpp__reconnect/tsconfig.json
+++ b/types/xmpp__reconnect/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__resolve/tsconfig.json b/types/xmpp__resolve/tsconfig.json
index 32de368d70822c..f64485a77a8566 100644
--- a/types/xmpp__resolve/tsconfig.json
+++ b/types/xmpp__resolve/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__resource-binding/tsconfig.json b/types/xmpp__resource-binding/tsconfig.json
index 586d288727ea46..f3f2c786f0fddd 100644
--- a/types/xmpp__resource-binding/tsconfig.json
+++ b/types/xmpp__resource-binding/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__sasl-anonymous/tsconfig.json b/types/xmpp__sasl-anonymous/tsconfig.json
index 8fd9c0b85c597d..5821bfbc5cf805 100644
--- a/types/xmpp__sasl-anonymous/tsconfig.json
+++ b/types/xmpp__sasl-anonymous/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__sasl-plain/tsconfig.json b/types/xmpp__sasl-plain/tsconfig.json
index d1685b91885ed0..ee687267ae029e 100644
--- a/types/xmpp__sasl-plain/tsconfig.json
+++ b/types/xmpp__sasl-plain/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__sasl-scram-sha-1/tsconfig.json b/types/xmpp__sasl-scram-sha-1/tsconfig.json
index ffda422e488a81..fbb7e97b02db6a 100644
--- a/types/xmpp__sasl-scram-sha-1/tsconfig.json
+++ b/types/xmpp__sasl-scram-sha-1/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__sasl/tsconfig.json b/types/xmpp__sasl/tsconfig.json
index 94e125a0d25ec6..5bfadde12e2101 100644
--- a/types/xmpp__sasl/tsconfig.json
+++ b/types/xmpp__sasl/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__session-establishment/tsconfig.json b/types/xmpp__session-establishment/tsconfig.json
index 1f958ef63878db..ae20c47af7448b 100644
--- a/types/xmpp__session-establishment/tsconfig.json
+++ b/types/xmpp__session-establishment/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__starttls/tsconfig.json b/types/xmpp__starttls/tsconfig.json
index c2933c1947db97..cf1d68878364a3 100644
--- a/types/xmpp__starttls/tsconfig.json
+++ b/types/xmpp__starttls/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__stream-features/index.d.ts b/types/xmpp__stream-features/index.d.ts
index 976f8ccbc1b842..38422d9c5c8331 100644
--- a/types/xmpp__stream-features/index.d.ts
+++ b/types/xmpp__stream-features/index.d.ts
@@ -1,7 +1,7 @@
import { Entity, IncomingContext, Middleware } from "@xmpp/middleware";
import { Element } from "@xmpp/xml";
-import * as Koa from "koa";
-import * as koaCompose from "koa-compose";
+import Koa = require("koa");
+import koaCompose = require("koa-compose");
export = streamFeatures;
diff --git a/types/xmpp__stream-features/route.d.ts b/types/xmpp__stream-features/route.d.ts
index e3a4cab558a97c..1f463e48d14e4d 100644
--- a/types/xmpp__stream-features/route.d.ts
+++ b/types/xmpp__stream-features/route.d.ts
@@ -1,5 +1,5 @@
import { Entity, IncomingContext } from "@xmpp/middleware";
-import * as Koa from "koa";
+import Koa = require("koa");
export = route;
diff --git a/types/xmpp__stream-features/tsconfig.json b/types/xmpp__stream-features/tsconfig.json
index ba224c2bc61045..9f8ba59d21fd45 100644
--- a/types/xmpp__stream-features/tsconfig.json
+++ b/types/xmpp__stream-features/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__stream-management/tsconfig.json b/types/xmpp__stream-management/tsconfig.json
index 567e04b2f43bd5..6242af0120a0d0 100644
--- a/types/xmpp__stream-management/tsconfig.json
+++ b/types/xmpp__stream-management/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__tcp/tsconfig.json b/types/xmpp__tcp/tsconfig.json
index 304db3331f6c32..cec6e295b41147 100644
--- a/types/xmpp__tcp/tsconfig.json
+++ b/types/xmpp__tcp/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__tls/tsconfig.json b/types/xmpp__tls/tsconfig.json
index 8634ee048d4ee7..4279e83b9d85ba 100644
--- a/types/xmpp__tls/tsconfig.json
+++ b/types/xmpp__tls/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__websocket/tsconfig.json b/types/xmpp__websocket/tsconfig.json
index 3b13fd509baeb3..54b74ecef2390b 100644
--- a/types/xmpp__websocket/tsconfig.json
+++ b/types/xmpp__websocket/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/xmpp__xml/tsconfig.json b/types/xmpp__xml/tsconfig.json
index ed439b4a4704f2..331a9ea33cd664 100644
--- a/types/xmpp__xml/tsconfig.json
+++ b/types/xmpp__xml/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/yandex-maps/tsconfig.json b/types/yandex-maps/tsconfig.json
index 46b8e105beb01f..4b63c7731c8736 100644
--- a/types/yandex-maps/tsconfig.json
+++ b/types/yandex-maps/tsconfig.json
@@ -11,7 +11,8 @@
"strictFunctionTypes": false,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/yargs-parser/tsconfig.json b/types/yargs-parser/tsconfig.json
index 8e4577e14b70c4..97b0d5a2ad2b6f 100644
--- a/types/yargs-parser/tsconfig.json
+++ b/types/yargs-parser/tsconfig.json
@@ -1,6 +1,5 @@
{
"compilerOptions": {
- "esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "node16",
"lib": [
diff --git a/types/yargs-parser/v11/tsconfig.json b/types/yargs-parser/v11/tsconfig.json
index 8e4577e14b70c4..97b0d5a2ad2b6f 100644
--- a/types/yargs-parser/v11/tsconfig.json
+++ b/types/yargs-parser/v11/tsconfig.json
@@ -1,6 +1,5 @@
{
"compilerOptions": {
- "esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "node16",
"lib": [
diff --git a/types/yargs-parser/v20/tsconfig.json b/types/yargs-parser/v20/tsconfig.json
index 8e4577e14b70c4..97b0d5a2ad2b6f 100644
--- a/types/yargs-parser/v20/tsconfig.json
+++ b/types/yargs-parser/v20/tsconfig.json
@@ -1,6 +1,5 @@
{
"compilerOptions": {
- "esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"module": "node16",
"lib": [
diff --git a/types/yargs-unparser/tsconfig.json b/types/yargs-unparser/tsconfig.json
index 7ca3987680eac1..0f67146ba895d0 100644
--- a/types/yargs-unparser/tsconfig.json
+++ b/types/yargs-unparser/tsconfig.json
@@ -10,8 +10,7 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
diff --git a/types/yargs/helpers.d.ts b/types/yargs/helpers.d.ts
index b9a9146a662025..36481a7c7187ed 100644
--- a/types/yargs/helpers.d.ts
+++ b/types/yargs/helpers.d.ts
@@ -1,4 +1,4 @@
-import * as Parser from "yargs-parser";
+import Parser = require("yargs-parser");
export function applyExtends(config: Record, cwd: string, mergeExtends: boolean): Record;
export function hideBin(argv: string[]): string[];
diff --git a/types/yargs/tsconfig.json b/types/yargs/tsconfig.json
index e3c98fde6260e7..94d74253508048 100644
--- a/types/yargs/tsconfig.json
+++ b/types/yargs/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/yargs/v16/helpers.d.ts b/types/yargs/v16/helpers.d.ts
index b9a9146a662025..36481a7c7187ed 100644
--- a/types/yargs/v16/helpers.d.ts
+++ b/types/yargs/v16/helpers.d.ts
@@ -1,4 +1,4 @@
-import * as Parser from "yargs-parser";
+import Parser = require("yargs-parser");
export function applyExtends(config: Record, cwd: string, mergeExtends: boolean): Record;
export function hideBin(argv: string[]): string[];
diff --git a/types/yargs/v16/tsconfig.json b/types/yargs/v16/tsconfig.json
index e3c98fde6260e7..94d74253508048 100644
--- a/types/yargs/v16/tsconfig.json
+++ b/types/yargs/v16/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/yeast/tsconfig.json b/types/yeast/tsconfig.json
index ae863ee3286015..9964098211cb58 100644
--- a/types/yeast/tsconfig.json
+++ b/types/yeast/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/yeast/yeast-tests.ts b/types/yeast/yeast-tests.ts
index c2f0df4a1503e0..241eca5712ff91 100644
--- a/types/yeast/yeast-tests.ts
+++ b/types/yeast/yeast-tests.ts
@@ -1,4 +1,4 @@
-import * as yeast from "yeast";
+import yeast from "yeast";
yeast.encode(123); // $ExpectType string
yeast.decode("abc"); // $ExpectType number
diff --git a/types/yesql/tsconfig.json b/types/yesql/tsconfig.json
index 3f1c8a7d3b4f00..5c04a7e02cf356 100644
--- a/types/yesql/tsconfig.json
+++ b/types/yesql/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/yesql/yesql-tests.ts b/types/yesql/yesql-tests.ts
index 4e06b7799c71ff..119297893a9d7a 100644
--- a/types/yesql/yesql-tests.ts
+++ b/types/yesql/yesql-tests.ts
@@ -1,4 +1,4 @@
-import * as yesql from "yesql";
+import yesql from "yesql";
yesql(""); // $ExpectType string
yesql("", { pg: true }); // $ExpectType string
diff --git a/types/yog2-kernel/index.d.ts b/types/yog2-kernel/index.d.ts
index eaaa926355ea12..0199b4e4fd55bb 100644
--- a/types/yog2-kernel/index.d.ts
+++ b/types/yog2-kernel/index.d.ts
@@ -1,8 +1,8 @@
-import * as express from "express";
-import * as _ from "lodash";
+import express = require("express");
+import _ = require("lodash");
import * as ral from "node-ral";
-import * as yogBigpipe from "yog-bigpipe";
-import * as log from "yog-log";
+import yogBigpipe = require("yog-bigpipe");
+import log = require("yog-log");
export as namespace yog;
declare namespace yog {
diff --git a/types/ysdk/tsconfig.json b/types/ysdk/tsconfig.json
index 858760ffb58822..c2aced91ccda8d 100644
--- a/types/ysdk/tsconfig.json
+++ b/types/ysdk/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6",
"DOM"
diff --git a/types/yt-search/tsconfig.json b/types/yt-search/tsconfig.json
index 1f0b0b5208ef96..ac59d2405be372 100644
--- a/types/yt-search/tsconfig.json
+++ b/types/yt-search/tsconfig.json
@@ -4,7 +4,6 @@
"lib": [
"es6"
],
- "esModuleInterop": true,
"noImplicitAny": true,
"noImplicitThis": true,
"strictFunctionTypes": true,
diff --git a/types/zalgo-promise/tsconfig.json b/types/zalgo-promise/tsconfig.json
index 78b08f359e9599..d2695b65dcff8e 100644
--- a/types/zalgo-promise/tsconfig.json
+++ b/types/zalgo-promise/tsconfig.json
@@ -11,7 +11,8 @@
"strictNullChecks": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true
+ "forceConsistentCasingInFileNames": true,
+ "esModuleInterop": true
},
"files": [
"index.d.ts",
diff --git a/types/zen-push/index.d.ts b/types/zen-push/index.d.ts
index 56d52141c3b4f8..e87165d077d5bb 100644
--- a/types/zen-push/index.d.ts
+++ b/types/zen-push/index.d.ts
@@ -1,4 +1,4 @@
-import * as Observable from "zen-observable";
+import Observable = require("zen-observable");
declare class PushStream {
readonly observable: Observable;
diff --git a/types/zip-webpack-plugin/tsconfig.json b/types/zip-webpack-plugin/tsconfig.json
index cebb1c3cd04714..d3f923d518f86b 100644
--- a/types/zip-webpack-plugin/tsconfig.json
+++ b/types/zip-webpack-plugin/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "module": "commonjs",
+ "module": "node16",
"lib": [
"es6"
],
diff --git a/types/zip-webpack-plugin/zip-webpack-plugin-tests.ts b/types/zip-webpack-plugin/zip-webpack-plugin-tests.ts
index d8db63bdc30504..8801318f3ca3cd 100644
--- a/types/zip-webpack-plugin/zip-webpack-plugin-tests.ts
+++ b/types/zip-webpack-plugin/zip-webpack-plugin-tests.ts
@@ -1,4 +1,4 @@
-import * as ZipPlugin from "zip-webpack-plugin";
+import ZipPlugin from "zip-webpack-plugin";
new ZipPlugin();
diff --git a/types/zxcvbn/tsconfig.json b/types/zxcvbn/tsconfig.json
index 8b27e27abc114d..71a0620c400d20 100644
--- a/types/zxcvbn/tsconfig.json
+++ b/types/zxcvbn/tsconfig.json
@@ -10,8 +10,7 @@
"strictFunctionTypes": true,
"types": [],
"noEmit": true,
- "forceConsistentCasingInFileNames": true,
- "esModuleInterop": true
+ "forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",