UNPKG
@realm/babel-plugin
Version:
latest (0.2.0)
0.2.0
0.1.1
0.1.0
0.0.1
Babel plugin making it easier to declare your Realm schema
@realm/babel-plugin
/
dist
/
plugin
/
import-checking.d.ts
4 lines
(3 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
import
{ types,
NodePath
}
from
"@babel/core"
;
export
declare
function
isImportedFromRealm
(
path
:
NodePath
<types.
Node
>
):
boolean
;
export
declare
function
isPropertyImportedFromRealm
(
path
:
NodePath
<types.
Node
>,
name
:
string
):
boolean
;