mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-26 02:04:42 +08:00
Fix single line doc comments
This commit is contained in:
@@ -1,21 +1,15 @@
|
||||
/**
|
||||
* @typedef {import("./IEntity").default} IEntity
|
||||
*/
|
||||
/** @typedef {import("./IEntity").default} IEntity */
|
||||
|
||||
export default class CalculatedType {
|
||||
|
||||
#f
|
||||
|
||||
/**
|
||||
* @param {Function} f
|
||||
*/
|
||||
/** @param {Function} f */
|
||||
constructor(f) {
|
||||
this.#f = f
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {IEntity} entity
|
||||
*/
|
||||
/** @param {IEntity} entity */
|
||||
calculate(entity) {
|
||||
return this.#f(entity)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user