@blocksuite/global
Advanced tools
Comparing version 0.5.0-20230314182044-9df30f4 to 0.5.0-20230315153039-983040a
@@ -6,3 +6,5 @@ export * from './consts/affine-style-consts.js'; | ||
export declare const PREVENT_DEFAULT = false; | ||
export type PREVENT_DEFAULT = typeof PREVENT_DEFAULT; | ||
export declare const ALLOW_DEFAULT = true; | ||
export type ALLOW_DEFAULT = typeof ALLOW_DEFAULT; | ||
export declare const HOTKEYS: { | ||
@@ -9,0 +11,0 @@ UNDO: string; |
@@ -28,2 +28,3 @@ import type { CodeBlockModelSchema, DatabaseBlockModelSchema, DividerBlockModelSchema, EmbedBlockModelSchema, FrameBlockModelSchema, ListBlockModelSchema, PageBlockModelSchema, ParagraphBlockModelSchema, SurfaceBlockModelSchema } from '@blocksuite/blocks'; | ||
}; | ||
export type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.5.0-20230314182044-9df30f4", | ||
"version": "0.5.0-20230315153039-983040a", | ||
"types": "./index.d.ts", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -7,3 +7,5 @@ export * from './consts/affine-style-consts.js'; | ||
export const PREVENT_DEFAULT = false; | ||
export type PREVENT_DEFAULT = typeof PREVENT_DEFAULT; | ||
export const ALLOW_DEFAULT = true; | ||
export type ALLOW_DEFAULT = typeof ALLOW_DEFAULT; | ||
@@ -10,0 +12,0 @@ export const HOTKEYS = { |
@@ -52,1 +52,7 @@ import type { | ||
}; | ||
export type UnionToIntersection<T> = | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(T extends any ? (x: T) => any : never) extends (x: infer R) => any | ||
? R | ||
: never; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
440224
4562