diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..1fa818f --- /dev/null +++ b/index.d.ts @@ -0,0 +1,7 @@ +interface FormatOptions { + eol?: string; + singleQuote?: boolean; + spaces?: null | number | string; +} +export function format(value: any, options?: FormatOptions): string; +export function parse(value: string): any; \ No newline at end of file diff --git a/package.json b/package.json index a6ff679..b6e6b61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lua-json", - "version": "1.0.0", + "version": "1.0.1", "description": "Convert Lua tables to and from JSON", "keywords": [ "json",