Skip to content

Commit

Permalink
chore(ts): remove type assertion in tokenizeArgString
Browse files Browse the repository at this point in the history
  • Loading branch information
QmarkC committed Jun 1, 2020
1 parent 5d1b84c commit 09062a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tokenize-arg-string.ts
Expand Up @@ -4,7 +4,7 @@ export function tokenizeArgString (argString: string | any[]): string[] {
return argString.map(e => typeof e !== 'string' ? e + '' : e)
}

argString = (argString as string).trim()
argString = argString.trim()

let i = 0
let prevC: string | null = null
Expand Down

0 comments on commit 09062a3

Please sign in to comment.