fix: typing
This commit is contained in:
parent
c41ff44708
commit
3a6f57ef6f
|
|
@ -18,7 +18,7 @@ interface PropertyConfig {
|
|||
export default function csvLoader(
|
||||
this: LoaderContext<CsvLoaderOptions>,
|
||||
content: string
|
||||
): string {
|
||||
): string | Buffer {
|
||||
const options = this.getOptions() || {};
|
||||
const delimiter = options.delimiter ?? ',';
|
||||
const quote = options.quote ?? '"';
|
||||
|
|
|
|||
Loading…
Reference in New Issue