Skip to content

Instantly share code, notes, and snippets.

@velut
Created May 6, 2020 19:16
Show Gist options
  • Save velut/fe52f51ecb5f1c5b10f934fe15d6b68a to your computer and use it in GitHub Desktop.
Save velut/fe52f51ecb5f1c5b10f934fe15d6b68a to your computer and use it in GitHub Desktop.
diff --git a/node_modules/@types/stream-json/filters/Filter.d.ts b/node_modules/@types/stream-json/filters/Filter.d.ts
index 2a77092..0be36d5 100644
--- a/node_modules/@types/stream-json/filters/Filter.d.ts
+++ b/node_modules/@types/stream-json/filters/Filter.d.ts
@@ -1,5 +1,5 @@
-import * as Chain from 'stream-chain';
-import * as FilterBase from './FilterBase';
+import Chain = require('stream-chain');
+import FilterBase = require('./FilterBase');
export = Filter;
diff --git a/node_modules/@types/stream-json/filters/Ignore.d.ts b/node_modules/@types/stream-json/filters/Ignore.d.ts
index db80554..79a1cba 100644
--- a/node_modules/@types/stream-json/filters/Ignore.d.ts
+++ b/node_modules/@types/stream-json/filters/Ignore.d.ts
@@ -1,5 +1,5 @@
-import * as Chain from 'stream-chain';
-import * as FilterBase from './FilterBase';
+import Chain = require('stream-chain');
+import FilterBase = require('./FilterBase');
export = Ignore;
diff --git a/node_modules/@types/stream-json/filters/Pick.d.ts b/node_modules/@types/stream-json/filters/Pick.d.ts
index f4504f2..35e5d72 100644
--- a/node_modules/@types/stream-json/filters/Pick.d.ts
+++ b/node_modules/@types/stream-json/filters/Pick.d.ts
@@ -1,5 +1,5 @@
-import * as Chain from 'stream-chain';
-import * as FilterBase from './FilterBase';
+import Chain = require('stream-chain');
+import FilterBase = require('./FilterBase');
export = Pick;
diff --git a/node_modules/@types/stream-json/filters/Replace.d.ts b/node_modules/@types/stream-json/filters/Replace.d.ts
index 9f85b84..869f883 100644
--- a/node_modules/@types/stream-json/filters/Replace.d.ts
+++ b/node_modules/@types/stream-json/filters/Replace.d.ts
@@ -1,5 +1,5 @@
-import * as Chain from 'stream-chain';
-import * as FilterBase from './FilterBase';
+import Chain = require('stream-chain');
+import FilterBase = require('./FilterBase');
export = Replace;
diff --git a/node_modules/@types/stream-json/index.d.ts b/node_modules/@types/stream-json/index.d.ts
index 9230408..869085b 100644
--- a/node_modules/@types/stream-json/index.d.ts
+++ b/node_modules/@types/stream-json/index.d.ts
@@ -5,23 +5,7 @@
/// <reference types="node" />
-import * as Assembler from './Assembler';
-import * as Emitter from './Emitter';
-import * as Parser from './Parser';
-import * as Stringer from './Stringer';
-
-import * as FilterBase from './filters/FilterBase';
-import * as Pick from './filters/Pick';
-import * as Replace from './filters/Replace';
-import * as Ignore from './filters/Ignore';
-import * as Filter from './filters/Filter';
-
-import * as StreamArray from './streamers/StreamArray';
-import * as StreamObject from './streamers/StreamObject';
-import * as StreamValues from './streamers/StreamValues';
-
-import * as emit from './utils/emit';
-import * as withParser from './utils/withParser';
+import Parser = require('./Parser');
export = make;
diff --git a/node_modules/@types/stream-json/streamers/StreamArray.d.ts b/node_modules/@types/stream-json/streamers/StreamArray.d.ts
index 4961e95..7f7997b 100644
--- a/node_modules/@types/stream-json/streamers/StreamArray.d.ts
+++ b/node_modules/@types/stream-json/streamers/StreamArray.d.ts
@@ -1,5 +1,5 @@
-import * as Chain from 'stream-chain';
-import * as StreamBase from './StreamBase';
+import Chain = require('stream-chain');
+import StreamBase = require('./StreamBase');
export = StreamArray;
diff --git a/node_modules/@types/stream-json/streamers/StreamBase.d.ts b/node_modules/@types/stream-json/streamers/StreamBase.d.ts
index 641694e..8d86c03 100644
--- a/node_modules/@types/stream-json/streamers/StreamBase.d.ts
+++ b/node_modules/@types/stream-json/streamers/StreamBase.d.ts
@@ -1,5 +1,5 @@
import { Transform, TransformOptions } from 'stream';
-import * as Assembler from '../Assembler';
+import Assembler = require('../Assembler');
export = StreamBase;
diff --git a/node_modules/@types/stream-json/streamers/StreamObject.d.ts b/node_modules/@types/stream-json/streamers/StreamObject.d.ts
index efaeed7..94bb55a 100644
--- a/node_modules/@types/stream-json/streamers/StreamObject.d.ts
+++ b/node_modules/@types/stream-json/streamers/StreamObject.d.ts
@@ -1,5 +1,5 @@
-import * as Chain from 'stream-chain';
-import * as StreamBase from './StreamBase';
+import Chain = require('stream-chain');
+import StreamBase = require('./StreamBase');
export = StreamObject;
diff --git a/node_modules/@types/stream-json/streamers/StreamValues.d.ts b/node_modules/@types/stream-json/streamers/StreamValues.d.ts
index 2ffe1a0..bf9ef62 100644
--- a/node_modules/@types/stream-json/streamers/StreamValues.d.ts
+++ b/node_modules/@types/stream-json/streamers/StreamValues.d.ts
@@ -1,5 +1,5 @@
-import * as Chain from 'stream-chain';
-import * as StreamBase from './StreamBase';
+import Chain = require('stream-chain');
+import StreamBase = require('./StreamBase');
export = StreamValues;
diff --git a/node_modules/@types/stream-json/utils/withParser.d.ts b/node_modules/@types/stream-json/utils/withParser.d.ts
index ef50936..4eb269f 100644
--- a/node_modules/@types/stream-json/utils/withParser.d.ts
+++ b/node_modules/@types/stream-json/utils/withParser.d.ts
@@ -1,8 +1,8 @@
-import { Writable, WritableOptions, Duplex, DuplexOptions, Transform, TransformOptions } from 'stream';
-import * as Chain from 'stream-chain';
-import * as Parser from '../Parser';
-import * as FilterBase from '../filters/FilterBase';
-import * as StreamBase from '../streamers/StreamBase';
+import { Transform, TransformOptions } from 'stream';
+import FilterBase = require('../filters/FilterBase');
+import Parser = require('../Parser');
+import StreamBase = require('../streamers/StreamBase');
+import Chain = require('stream-chain');
export = withParser;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment