Skip to content

Commit 5ad1f2d

Browse files
committed
fix(csv-demo-esm): ts type
1 parent 9bb1bf8 commit 5ad1f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/esm/lib/parse_sync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import assert from "assert";
22
import { parse } from "csv-parse/sync";
33

44
// Create the parser
5-
const records: [] = parse(["a:b:c\n", "1:2:3\n"].join(""), {
5+
const records: string[][] = parse(["a:b:c\n", "1:2:3\n"].join(""), {
66
delimiter: ":",
77
});
88
// Test that the parsed records matched what's expected

0 commit comments

Comments
 (0)