Skip to content

Commit

Permalink
chore(ts): add types to variables in tokenize-arg-string
Browse files Browse the repository at this point in the history
  • Loading branch information
QmarkC committed Jun 1, 2020
1 parent 4a31c3c commit 5d1b84c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/tokenize-arg-string.ts
Expand Up @@ -7,10 +7,10 @@ export function tokenizeArgString (argString: string | any[]): string[] {
argString = (argString as string).trim()

let i = 0
let prevC = null
let c = null
let opening = null
const args = []
let prevC: string | null = null
let c: string | null = null
let opening: string | null = null
const args: string[] = []

for (let ii = 0; ii < argString.length; ii++) {
prevC = c
Expand Down

0 comments on commit 5d1b84c

Please sign in to comment.