Skip to content

pajaydev/lasso-typescript

Repository files navigation

lasso-typescript

Plugin to use Typescript using Lasso js.

npm version Build Status

Usage

npm install lasso-typescript

Register lasso-typescript as shown below:

require('lasso').configure({
    ...
    plugins: [
        'lasso-typescript',
        ...
    ]
});

Include the typescript file in browser.json as shown below:

{
    "dependencies": [
        "./style.less",
        "./Greeter.ts",
        "require-run: ./main"
    ]
}

Example

Fork and set up the project.

git clone git@github.com:ajay2507/lasso-typescript.git
cd example
npm install

Run the project.

npm run start