@my-devkit/core 1.0.101 → 1.0.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/document.d.ts
CHANGED
|
@@ -46,6 +46,6 @@ export declare namespace TypeHelper {
|
|
|
46
46
|
type NonFunctionPropertyNames<T> = {
|
|
47
47
|
[K in keyof T]: T[K] extends Function ? never : K;
|
|
48
48
|
}[keyof T];
|
|
49
|
-
export type ClassProperties<T> = Pick<T, NonFunctionPropertyNames<T
|
|
49
|
+
export type ClassProperties<T> = Omit<Pick<T, NonFunctionPropertyNames<T>>, '_path' | 'publishedAt' | 'publishedAt'>;
|
|
50
50
|
export {};
|
|
51
51
|
}
|
package/package.json
CHANGED
package/src/document.ts
CHANGED
|
@@ -192,5 +192,5 @@ export namespace TypeHelper {
|
|
|
192
192
|
[K in keyof T]: T[K] extends Function ? never : K
|
|
193
193
|
}[keyof T];
|
|
194
194
|
|
|
195
|
-
export type ClassProperties<T> = Pick<T, NonFunctionPropertyNames<T
|
|
195
|
+
export type ClassProperties<T> = Omit<Pick<T, NonFunctionPropertyNames<T>>, '_path' | 'publishedAt' | 'publishedAt'>;
|
|
196
196
|
}
|