UNPKG
@linaria/utils
Version:
latest (5.0.2)
legacy (3.0.0-airbnb.0)
5.0.2
5.0.1
5.0.0
4.5.3
4.5.2
4.5.1
4.5.0
4.3.4
4.3.3
4.3.2
4.3.1
4.3.0
4.2.6
4.2.5
4.2.4
4.2.3
4.2.2
4.2.1
4.2.0
4.1.1
4.1.0
4.0.0
4.0.0-beta.1
4.0.0-beta.0
3.0.0-beta.20
3.0.0-beta.19
3.0.0-beta.18
3.0.0-beta.15
3.0.0-airbnb.0
Blazing fast zero-runtime CSS in JS library
github.com/callstack/linaria
callstack/linaria
@linaria/utils
/
types
/
addIdentifierToLinariaPreval.d.ts
5 lines
(4 loc)
•
287 B
TypeScript
View Raw
1
2
3
4
5
import
type
{
NodePath
,
Scope
}
from
'@babel/traverse'
;
import
type
{
ObjectExpression
}
from
'@babel/types'
;
export
declare
function
getOrAddLinariaPreval
(
scope
:
Scope
):
NodePath
<
ObjectExpression
>;
export
declare
function
addIdentifierToLinariaPreval
(
scope
:
Scope
,
name
:
string
):
void
;