Skip to content

Commit

Permalink
fix: support TypeScript moduleResolution node16 (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusU committed Nov 8, 2022
1 parent 33921cb commit f4d7c97
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion packages/csv-generate/dist/cjs/stream.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function generate(options?: Options): ReadableStream<Buffer>;
// export default generate;
Expand Down
2 changes: 1 addition & 1 deletion packages/csv-generate/dist/cjs/sync.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function generate<T = any>(options: number | Options): string & Array<T>;
// export default generate;
Expand Down
2 changes: 1 addition & 1 deletion packages/csv-generate/dist/esm/stream.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function generate(options?: Options): ReadableStream<Buffer>;
// export default generate;
Expand Down
2 changes: 1 addition & 1 deletion packages/csv-generate/dist/esm/sync.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function generate<T = any>(options: number | Options): string & Array<T>;
// export default generate;
Expand Down
2 changes: 1 addition & 1 deletion packages/csv-generate/lib/stream.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function generate(options?: Options): ReadableStream<Buffer>;
// export default generate;
Expand Down
2 changes: 1 addition & 1 deletion packages/csv-generate/lib/sync.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function generate<T = any>(options: number | Options): string & Array<T>;
// export default generate;
Expand Down
4 changes: 2 additions & 2 deletions packages/csv-parse/dist/cjs/sync.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function parse(input: Buffer | string, options?: Options): any;
// export default parse;
Expand All @@ -8,4 +8,4 @@ export { parse };
export {
CastingContext, CastingFunction, CastingDateFunction,
ColumnOption, Options, Info, CsvErrorCode, CsvError
} from './index';
} from './index.js';
4 changes: 2 additions & 2 deletions packages/csv-parse/dist/esm/sync.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function parse(input: Buffer | string, options?: Options): any;
// export default parse;
Expand All @@ -8,4 +8,4 @@ export { parse };
export {
CastingContext, CastingFunction, CastingDateFunction,
ColumnOption, Options, Info, CsvErrorCode, CsvError
} from './index';
} from './index.js';
4 changes: 2 additions & 2 deletions packages/csv-parse/lib/sync.d.ts
@@ -1,5 +1,5 @@

import { Options } from './index';
import { Options } from './index.js';

declare function parse(input: Buffer | string, options?: Options): any;
// export default parse;
Expand All @@ -8,4 +8,4 @@ export { parse };
export {
CastingContext, CastingFunction, CastingDateFunction,
ColumnOption, Options, Info, CsvErrorCode, CsvError
} from './index';
} from './index.js';
4 changes: 2 additions & 2 deletions packages/csv-stringify/dist/cjs/sync.d.ts
@@ -1,5 +1,5 @@

import { Input, Options } from './index'
import { Input, Options } from './index.js'

declare function stringify(input: Input, options?: Options): string

Expand All @@ -9,4 +9,4 @@ export { stringify };
export {
RecordDelimiter, Cast, PlainObject, Input, ColumnOption, CastingContext,
Options
} from './index';
} from './index.js';
4 changes: 2 additions & 2 deletions packages/csv-stringify/dist/esm/sync.d.ts
@@ -1,5 +1,5 @@

import { Input, Options } from './index'
import { Input, Options } from './index.js'

declare function stringify(input: Input, options?: Options): string

Expand All @@ -9,4 +9,4 @@ export { stringify };
export {
RecordDelimiter, Cast, PlainObject, Input, ColumnOption, CastingContext,
Options
} from './index';
} from './index.js';
4 changes: 2 additions & 2 deletions packages/csv-stringify/lib/sync.d.ts
@@ -1,5 +1,5 @@

import { Input, Options } from './index'
import { Input, Options } from './index.js'

declare function stringify(input: Input, options?: Options): string

Expand All @@ -9,4 +9,4 @@ export { stringify };
export {
RecordDelimiter, Cast, PlainObject, Input, ColumnOption, CastingContext,
Options
} from './index';
} from './index.js';
2 changes: 1 addition & 1 deletion packages/stream-transform/dist/cjs/sync.d.ts
@@ -1,6 +1,6 @@
/// <reference types="node" />

import { Options } from './index';
import { Options } from './index.js';

export type Handler<T = any, U = any> = (record: T) => U
// export default transform;
Expand Down
2 changes: 1 addition & 1 deletion packages/stream-transform/dist/esm/sync.d.ts
@@ -1,6 +1,6 @@
/// <reference types="node" />

import { Options } from './index';
import { Options } from './index.js';

export type Handler<T = any, U = any> = (record: T) => U
// export default transform;
Expand Down
2 changes: 1 addition & 1 deletion packages/stream-transform/lib/sync.d.ts
@@ -1,6 +1,6 @@
/// <reference types="node" />

import { Options } from './index';
import { Options } from './index.js';

export type Handler<T = any, U = any> = (record: T) => U
// export default transform;
Expand Down

0 comments on commit f4d7c97

Please sign in to comment.