Errors Using Next13 w/ TypeScript in: next.config.js
Unanswered
Doberman Pinscher posted this in #help-forum
Doberman PinscherOP
1. The red line on the line where it says: topLevelImportPaths?: string[],
throws: An element access expression should take an argument.ts(1011)
2. The red line on the line where it says:
meaninglessFileNames?: string[],
throws: An element access expression should take an argument.ts(1011)
Thank you so much.
throws: An element access expression should take an argument.ts(1011)
2. The red line on the line where it says:
meaninglessFileNames?: string[],
throws: An element access expression should take an argument.ts(1011)
Thank you so much.
2 Replies
@Doberman Pinscher 1. The red line on the line where it says: topLevelImportPaths?: string[],
throws: An element access expression should take an argument.ts(1011)
2. The red line on the line where it says:
meaninglessFileNames?: string[],
throws: An element access expression should take an argument.ts(1011)
Thank you so much.
next.config.js is a JavaScript file, typing if any should go to the jsdoc
@type as on the first lineThe remaining content should be populated with your value instead of types