Skip to content
This repository has been archived by the owner on Jul 4, 2020. It is now read-only.

S-O-L-A-R/liff-type

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

liff-type (deprecated)

npm version TypeScript Maintenance

Type definition for LINE Frontend Framework

Deprecated

Now LINE publishs official liff at npmjs with typescript! So this package won't be no longer maintainance :) See ya.

Please visit @line/liff

Installation

npm i -D liff-type

Usage

In .tsconfig, add liff-type to types in compilerOptions

{
    "compilerOptions": {
        "types": ["liff-type"]
    }
}

In your code, you can access liff directly as global variable without window!

example

Versioning

Major and Minor Version are matched with LIFF SDK.

Patch is bug fixed or improvement.