diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-12-19 01:17:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-19 06:17:22 +0000 |
commit | e9e504b40dde8691c32c933c7e27e28cfad1c8b5 (patch) | |
tree | 1128f311d9e5cb6316fbf237724eb2b87a522446 /ext/js/data | |
parent | 20dd6112724a77fee16281930e79a2e6822acff7 (diff) |
Template type improvements (#380)
* Default templates to unknown
* Default typescript templates to unknown
* More template type updates
Diffstat (limited to 'ext/js/data')
-rw-r--r-- | ext/js/data/database.js | 6 | ||||
-rw-r--r-- | ext/js/data/json-schema.js | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/js/data/database.js b/ext/js/data/database.js index c8047b41..43ac9e5b 100644 --- a/ext/js/data/database.js +++ b/ext/js/data/database.js @@ -153,7 +153,7 @@ export class Database { } /** - * @template TPredicateArg + * @template [TPredicateArg=unknown] * @template [TResult=unknown] * @template [TResultDefault=unknown] * @param {TObjectStoreName} objectStoreName @@ -174,8 +174,8 @@ export class Database { } /** - * @template TData - * @template TPredicateArg + * @template [TData=unknown] + * @template [TPredicateArg=unknown] * @template [TResult=unknown] * @template [TResultDefault=unknown] * @param {IDBObjectStore|IDBIndex} objectStoreOrIndex diff --git a/ext/js/data/json-schema.js b/ext/js/data/json-schema.js index d63cfd1a..52a55d85 100644 --- a/ext/js/data/json-schema.js +++ b/ext/js/data/json-schema.js @@ -249,7 +249,7 @@ export class JsonSchema { } /** - * @template T + * @template [T=unknown] * @param {T} value * @returns {T} */ |