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:
3
js/dist-typings/common/utils/computed.d.ts
vendored
3
js/dist-typings/common/utils/computed.d.ts
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user