1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 17:36:38 +02:00

Bundled output for commit 187b5c6f0b

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2021-12-13 01:41:29 +00:00
parent 187b5c6f0b
commit c2ec848744
25 changed files with 387 additions and 195 deletions

View File

@@ -1,3 +1,4 @@
import Model from '../Model';
/**
* The `computed` utility creates a function that will cache its output until
* any of the dependent values are dirty.
@@ -7,4 +8,4 @@
* dependent values.
* @return {Function}
*/
export default function computed(...dependentKeys: string[]): Function;
export default function computed<T, M = Model>(...args: [...string[], (this: M, ...args: unknown[]) => T]): () => T;