diff --git a/jsr.json b/jsr.json index 6759ab2..7bc4d71 100644 --- a/jsr.json +++ b/jsr.json @@ -1,6 +1,6 @@ { "name": "@anpete/fastexpr", - "version": "1.0.1", + "version": "1.0.2", "exports": "./parser.ts", "publish": { "include": [ diff --git a/package.json b/package.json index fd03774..c7958a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fastexpr.js", - "version": "1.0.1", + "version": "1.0.2", "description": "A blazingly fast expression parser for JavaScript", "type": "module", "main": "dist/parser.js", diff --git a/parser.ts b/parser.ts index 45e7523..9bcf063 100644 --- a/parser.ts +++ b/parser.ts @@ -991,7 +991,7 @@ function based( return [parseInt(value, base), i] as const; } -export type baseTypes = +type baseTypes = | string | number | boolean