UNPKG
temporeest
Version:
latest (1.6.1)
1.6.1
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
github.com/ElseRenner/temporeest.git
ElseRenner/temporeest
temporeest
/
packages
/
schema
/
src
/
module.ts
16 lines
(13 loc)
•
274 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Import }
from
'@aphro/schema-api'
; export
function
tsImport
(
name:
string
|
null
,
as
:
string
|
null
,
from
:
string
):
Import
{
return
{ name: name?.
trim
(),
as
,
from
, }; } export
function
javaImport
(
from
:
string
):
Import
{
return
{
from
, }; }