delta-comic-core 0.2.0 → 0.2.1
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/bundle.cjs.map +1 -1
- package/dist/bundle.js.map +1 -1
- package/dist/lib/components/image.vue.d.ts +4 -1099
- package/dist/lib/index.d.ts +7 -1467
- package/dist/lib/utils/data.d.ts +1 -1
- package/dist/pack.tgz +0 -0
- package/package.json +1 -1
package/dist/lib/utils/data.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare class SourcedValue<T extends [string, string]> {
|
|
|
19
19
|
stringify(value: T): string;
|
|
20
20
|
constructor(separator?: string);
|
|
21
21
|
}
|
|
22
|
-
export type SourcedKeyType<T extends SourcedKeyMap<any, any>> = Parameters<T['get']>[0];
|
|
22
|
+
export type SourcedKeyType<T extends SourcedKeyMap<any, any> | SourcedValue<any>> = T extends SourcedKeyMap<any, any> ? Parameters<T['get']>[0] : Parameters<T['toJSON']>[0];
|
|
23
23
|
/**
|
|
24
24
|
* 相比较于普通的Map,这个元素的key操作可以是`TKey | string`
|
|
25
25
|
* _但内部保存仍使用`SourcedValue.toString`作为key_
|
package/dist/pack.tgz
CHANGED
|
Binary file
|