@koishijs/utils
Advanced tools
Comparing version 6.2.3 to 6.2.4
@@ -12,2 +12,6 @@ import Schema from 'schemastery'; | ||
export function renameProperty<O extends object, K extends keyof O, T extends string>(config: O, key: K, oldKey: T): void; | ||
type Methods<T> = { | ||
[K in keyof T]?: T[K] extends (...args: infer A) => infer R ? (this: T, ...args: A) => R : T[K]; | ||
}; | ||
export function extend<T>(prototype: T, methods: Methods<T>): void; | ||
export type Observed<T, R = any> = T & { | ||
@@ -14,0 +18,0 @@ $diff: Partial<T>; |
{ | ||
"name": "@koishijs/utils", | ||
"description": "Utilities for Koishi", | ||
"version": "6.2.3", | ||
"version": "6.2.4", | ||
"main": "lib/index.cjs", | ||
@@ -6,0 +6,0 @@ "module": "lib/index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
49031
528