mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-10 20:17:32 +01:00
func --> Func
This commit is contained in:
parent
0c424cb77f
commit
1beb153f21
@ -14,8 +14,8 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
type func = () => void;
|
||||
type Disposable = { dispose: func; [key: string]: any } | func;
|
||||
type Func = () => void;
|
||||
type Disposable = { dispose: Func; [key: string]: any } | Func;
|
||||
|
||||
function disposeValue(value: Disposable): void {
|
||||
if (typeof value === "function") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user