Skip to content

Imports do not work on angular 13 #17

@rasoulMrz

Description

@rasoulMrz

Using angular 13 i get the following error:
Could not find a declaration file for module 'spel2js'
when trying to import as:
import { StandardContext, SpelExpressionEvaluator } from 'spel2js';

I was using const spel2js = require('spel2js'); with angular 12 but it does not work on 13 (and i don't know why).

It seems the solution is for you to provide something like @types/spel2js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions