[Solved] How to include Jison into Angular?

[ad_1]

Install to your projects package.json

npm install jison -s

In your tsconfig.app.json include ‘node’ in your types array within compilerOptions

"compilerOptions": {
    "types": [
       "node"
    ]
}

Then import it in any TypeScript file.

import * as jison from 'jison';

3

[ad_2]

solved How to include Jison into Angular?