1st version
This commit is contained in:
30
Jira_helper/node_modules/csv-parse/lib/sync.d.ts
generated
vendored
Normal file
30
Jira_helper/node_modules/csv-parse/lib/sync.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
import { Options } from "./index.js";
|
||||
|
||||
type OptionsWithColumns<T> = Omit<Options<T>, "columns"> & {
|
||||
columns: Exclude<Options["columns"], undefined | false>;
|
||||
};
|
||||
|
||||
declare function parse<T = unknown>(
|
||||
input: Buffer | string | Uint8Array,
|
||||
options: OptionsWithColumns<T>,
|
||||
): T[];
|
||||
declare function parse(
|
||||
input: Buffer | string | Uint8Array,
|
||||
options: Options,
|
||||
): string[][];
|
||||
declare function parse(input: Buffer | string | Uint8Array): string[][];
|
||||
|
||||
// export default parse;
|
||||
export { parse };
|
||||
|
||||
export {
|
||||
CastingContext,
|
||||
CastingFunction,
|
||||
CastingDateFunction,
|
||||
ColumnOption,
|
||||
Options,
|
||||
OptionsNormalized,
|
||||
Info,
|
||||
CsvErrorCode,
|
||||
CsvError,
|
||||
} from "./index.js";
|
||||
Reference in New Issue
Block a user