chore: fix some typos in comments (#3108)
Signed-off-by: loselarry <bikangning@yeah.net>
This commit is contained in:
@@ -35,7 +35,7 @@ export function scanFiles(dt: DataTransfer): Promise<UploadList | FileList> {
|
||||
const contents: UploadList = [];
|
||||
|
||||
if (dt.items) {
|
||||
// ts didnt like the for of loop even tho
|
||||
// ts didn't like the for of loop even tho
|
||||
// it is the official example on MDN
|
||||
// for (const item of dt.items) {
|
||||
for (let i = 0; i < dt.items.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user