Skip to content

Commit f4d7c97

Browse files
authored
fix: support TypeScript moduleResolution node16 (#368)
1 parent 33921cb commit f4d7c97

15 files changed

Lines changed: 21 additions & 21 deletions

File tree

packages/csv-generate/dist/cjs/stream.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function generate(options?: Options): ReadableStream<Buffer>;
55
// export default generate;

packages/csv-generate/dist/cjs/sync.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function generate<T = any>(options: number | Options): string & Array<T>;
55
// export default generate;

packages/csv-generate/dist/esm/stream.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function generate(options?: Options): ReadableStream<Buffer>;
55
// export default generate;

packages/csv-generate/dist/esm/sync.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function generate<T = any>(options: number | Options): string & Array<T>;
55
// export default generate;

packages/csv-generate/lib/stream.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function generate(options?: Options): ReadableStream<Buffer>;
55
// export default generate;

packages/csv-generate/lib/sync.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function generate<T = any>(options: number | Options): string & Array<T>;
55
// export default generate;
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function parse(input: Buffer | string, options?: Options): any;
55
// export default parse;
@@ -8,4 +8,4 @@ export { parse };
88
export {
99
CastingContext, CastingFunction, CastingDateFunction,
1010
ColumnOption, Options, Info, CsvErrorCode, CsvError
11-
} from './index';
11+
} from './index.js';
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function parse(input: Buffer | string, options?: Options): any;
55
// export default parse;
@@ -8,4 +8,4 @@ export { parse };
88
export {
99
CastingContext, CastingFunction, CastingDateFunction,
1010
ColumnOption, Options, Info, CsvErrorCode, CsvError
11-
} from './index';
11+
} from './index.js';

packages/csv-parse/lib/sync.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Options } from './index';
2+
import { Options } from './index.js';
33

44
declare function parse(input: Buffer | string, options?: Options): any;
55
// export default parse;
@@ -8,4 +8,4 @@ export { parse };
88
export {
99
CastingContext, CastingFunction, CastingDateFunction,
1010
ColumnOption, Options, Info, CsvErrorCode, CsvError
11-
} from './index';
11+
} from './index.js';
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
import { Input, Options } from './index'
2+
import { Input, Options } from './index.js'
33

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

@@ -9,4 +9,4 @@ export { stringify };
99
export {
1010
RecordDelimiter, Cast, PlainObject, Input, ColumnOption, CastingContext,
1111
Options
12-
} from './index';
12+
} from './index.js';

0 commit comments

Comments
 (0)