Plugin to use Typescript using Lasso js.
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"
]
}
Fork and set up the project.
git clone [email protected]:ajay2507/lasso-typescript.git
cd example
npm install
Run the project.
npm run start