UNPKG
ohayolibs
Version:
latest (1.0.1)
1.0.1
1.0.0
Ohayo is a set of essential modules for ohayojp.
ohayolibs
/
packages
/
schematics
/
list
/
index.ts
8 lines
(6 loc)
•
260 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{ chain,
Rule
}
from
'@angular-devkit/schematics'
;
import
{ buildOhayo }
from
'../utils/ohayo'
;
import
{
Schema
}
from
'./schema'
;
export
default
function
(
options: Schema
):
Rule
{
return
chain
([
buildOhayo
({
schematicName
:
'list'
, ...options })]); }