Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error wih typescript 4 #167

Open
aprilmay opened this issue Nov 27, 2020 · 0 comments
Open

Error wih typescript 4 #167

aprilmay opened this issue Nov 27, 2020 · 0 comments

Comments

@aprilmay
Copy link

aprilmay commented Nov 27, 2020

In an attempt to use geopackage.js with Angular 11, which depends on typescript 4, the following error is shown:

Error: node_modules/@ngageoint/geopackage/built/lib/extension/style/styleMappingDao.d.ts:22:5 - error TS2610: 'table' is defined as an accessor in class 'UserMappingDao<StyleMappingRow>', but is overridden here in 'StyleMappingDao' as an instance property.

I'm not a typescript expert, but this seems to be relevant: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-0.html#properties-overriding-accessors-and-vice-versa-is-an-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant