UNPKG
@patchworkdev/common
Version:
latest (0.4.1)
next (0.3.0-rc.2)
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.3.0-rc.2
0.3.0-rc.1
0.3.0-rc.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.0.1
Patchwork Development Kit
@patchworkdev/common
/
dist
/
codegen
/
jsonSchemaGen.d.ts
8 lines
(7 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
ContractSchema
}
from
"./contractSchema"
;
import
{
Generator
}
from
"./generator"
;
export
declare
class
JSONSchemaGen
implements
Generator
{
gens
:
Map
<
string
,
Generator
>;
constructor
(
);
gen
(
schema
:
ContractSchema
):
string
; }