update testResult type to allow for fail record

This commit is contained in:
lingdocs 2022-09-02 10:49:16 +04:00
parent deb10be497
commit eb55cf90d2
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/lingdocs-main", "name": "@lingdocs/lingdocs-main",
"version": "0.3.1", "version": "0.3.2",
"description": "types and functions for lingdocs stuff", "description": "types and functions for lingdocs stuff",
"main": "dist/library.js", "main": "dist/library.js",
"module": "dist/library.js", "module": "dist/library.js",

View File

@ -25,7 +25,7 @@ export type UserTextOptionsRecord = {
}; };
export type TestResult = { export type TestResult = {
done: true, done: boolean,
time: TimeStamp, time: TimeStamp,
id: string, id: string,
} }