From 3d415518487f3d9377cb17f385c6d3d9da80577a Mon Sep 17 00:00:00 2001 From: Huachao Mao Date: Mon, 12 Mar 2018 14:40:28 +0800 Subject: [PATCH] Fix typo of token --- README.md | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; /**