diff --git a/README.md b/README.md index e441a28..968fe06 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ export interface JSONScanner { */ setPosition(pos: number): any; /** - * Read the next token. Returns the tolen code. + * Read the next token. Returns the token code. */ scan(): SyntaxKind; /** diff --git a/src/main.ts b/src/main.ts index 37a0738..1ec4259 100644 --- a/src/main.ts +++ b/src/main.ts @@ -54,7 +54,7 @@ export interface JSONScanner { */ setPosition(pos: number): void; /** - * Read the next token. Returns the tolen code. + * Read the next token. Returns the token code. */ scan(): SyntaxKind; /**