UNPKG
pikaso
Version:
beta (1.0.0-beta.1)
latest (3.0.3)
3.0.3
3.0.2
3.0.1
2.9.0
2.8.3
2.8.2
2.8.1
2.8.0
2.7.6
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.0
2.5.0
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.1.1
2.1.0
2.0.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-beta.23
1.0.0-beta.22
1.0.0-beta.21
1.0.0-beta.20
1.0.0-beta.19
1.0.0-beta.17
1.0.0-beta.16
1.0.0-beta.15
1.0.0-beta.14
1.0.0-beta.13
1.0.0-beta.12
1.0.0-beta.11
1.0.0-beta.10
1.0.0-beta.9
1.0.0-beta.8
1.0.0-beta.7
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Seamless, Fully-typed and Fully-tested HTML5 Canvas Library
pikaso.app
pikasojs/pikaso
pikaso
/
lib
/
Import
/
index.d.ts
9 lines
(8 loc)
•
301 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Board
}
from
'../Board'
;
import
type
{
JsonData
,
BaseShapes
}
from
'../types'
;
export
declare
class
Import
{
private
readonly
board;
private
readonly
shapes;
constructor
(
board
:
Board
,
shapes
:
BaseShapes
);
json
({ stage, layer, background, shapes }:
JsonData
):
Promise
<
void
>; }