UNPKG
@architwankhade/math
Version:
latest (1.0.3)
1.0.3
1.0.2
1.0.1
1.0.0
Excalidraw math functions
github.com/excalidraw/excalidraw
excalidraw/excalidraw
@architwankhade/math
/
dist
/
types
/
excalidraw
/
actions
/
register.d.ts
6 lines
(5 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
Action
}
from
"./types"
;
export
declare
let
actions
:
readonly
Action
[];
export
declare
const
register
: <T
extends
Action
>
(
action
: T
) =>
T & {
keyTest
?: (
unknown
extends
T[
"keyTest"
] ?
never
: T[
"keyTest"
]) |
undefined
; };