UNPKG
@line/liff-mock
Version:
latest (1.0.4)
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.0.3
0.0.2
0.0.1
Make testing your LIFF app easy
@line/liff-mock
/
dist
/
api
/
init.d.ts
3 lines
(2 loc)
•
216 B
TypeScript
View Raw
1
2
3
import
{
ActualLiff
}
from
'../type'
;
export
declare
const
createMockedInit
:
(
injectLiffMock
: (liff: Omit<ActualLiff,
'init'
|
'use'
|
'ready'
|
'id'
>) =>
void
,
isCalledInLiffBrowser
:
boolean
) =>
ActualLiff
[
'init'
];