Commit 64b896a9 authored by nanahira's avatar nanahira

better typing

parent 5031041c
...@@ -70,7 +70,7 @@ export class Aragami { ...@@ -70,7 +70,7 @@ export class Aragami {
async set<T>( async set<T>(
o: T, o: T,
options: { ttl?: number; key?: string; prototype?: AnyClass } = {}, options: { ttl?: number; key?: string; prototype?: ClassType<T> } = {},
) { ) {
if (!o) { if (!o) {
return o; return o;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment