export Factory Validators and GetSet

This commit is contained in:
StringKE 2023-11-20 07:58:24 +00:00
parent 47e8d20a52
commit 44c212fe33
2 changed files with 8 additions and 0 deletions

View File

@ -2,6 +2,9 @@
import { Konva as Global } from './Global';
import { Util, Transform } from './Util';
import { Factory } from './Factory';
import * as Validators from './Validators';
import { Node } from './Node';
import { Container } from './Container';
@ -24,6 +27,8 @@ import { Canvas } from './Canvas';
export const Konva = Util._assign(Global, {
Util,
Factory,
Validators,
Transform,
Node,
Container,

View File

@ -41,6 +41,7 @@ declare namespace Konva {
export const isDragReady: () => boolean;
export const getAngle: (angle: number) => number;
export type GetSet<Type, This> = import('./types').GetSet<Type, This>
export type Vector2d = import('./types').Vector2d;
export const Node: typeof import('./Node').Node;
@ -63,6 +64,8 @@ declare namespace Konva {
export type Transform = import('./Util').Transform;
export const Util: typeof import('./Util').Util;
export const Factory: typeof import('./Factory').Factory;
export const Validators: typeof import('./Validators');
export const Context: typeof import('./Context').Context;
export type Context = import('./Context').Context;