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 in tiff.d.ts during ng build #48

Open
limcheepei opened this issue Sep 5, 2019 · 0 comments
Open

Error in tiff.d.ts during ng build #48

limcheepei opened this issue Sep 5, 2019 · 0 comments

Comments

@limcheepei
Copy link

I am struggling to setup tiff.js with Angular. Anyone has step by step guide on how to setup tiff.js in Angular?

Here is the build error.
ERROR in src/tiff.d.ts:2:69 - error TS2552: Cannot find name 'Module'. Did you mean 'module'?

2 declare var loadModule: (options: Tiff.InitializeOptions) => typeof Module;
~~~~~~

src/tiff.d.ts:39:13
39 declare var module: any;
~~~~~~
'module' is declared here.

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