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

Latest commit

 

History

History
39 lines (24 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.04 KB

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.