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

Getting lots of type errors #108

Closed
scottge opened this issue Feb 25, 2019 · 2 comments
Closed

Getting lots of type errors #108

scottge opened this issue Feb 25, 2019 · 2 comments
Labels

Comments

@scottge
Copy link

scottge commented Feb 25, 2019

Hello

I'm using your latest release. I get a lot of type errors as shown below. As a shortterm workaround, I have to add '"skipLibCheck": true' to my tsconfig.

node_modules/liquidjs/dist/parser/parse-stream.d.ts:1:19 - error TS2307: Cannot find module 'src/parser/token'.

1 import Token from 'src/parser/token';
~~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/parser/parse-stream.d.ts:2:23 - error TS2307: Cannot find module 'src/template/itemplate'.

2 import ITemplate from 'src/template/itemplate';
~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/parser/parser.d.ts:1:20 - error TS2307: Cannot find module 'src/liquid'.

1 import Liquid from 'src/liquid';
~~~~~~~~~~~~

node_modules/liquidjs/dist/parser/parser.d.ts:4:17 - error TS2307: Cannot find module 'src/template/tag/tag'.

4 import Tag from 'src/template/tag/tag';
~~~~~~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/parser/parser.d.ts:5:20 - error TS2307: Cannot find module 'src/template/output'.

5 import Output from 'src/template/output';
~~~~~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/parser/parser.d.ts:6:18 - error TS2307: Cannot find module 'src/template/html'.

6 import HTML from 'src/template/html';
~~~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/parser/parser.d.ts:7:23 - error TS2307: Cannot find module 'src/template/itemplate'.

7 import ITemplate from 'src/template/itemplate';
~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/render/render.d.ts:1:19 - error TS2307: Cannot find module 'src/scope/scope'.

1 import Scope from 'src/scope/scope';
~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/render/render.d.ts:2:23 - error TS2307: Cannot find module 'src/template/itemplate'.

2 import ITemplate from 'src/template/itemplate';
~~~~~~~~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/render/syntax.d.ts:1:19 - error TS2307: Cannot find module 'src/scope/scope'.

1 import Scope from 'src/scope/scope';
~~~~~~~~~~~~~~~~~

node_modules/liquidjs/dist/template/itemplate.d.ts:1:19 - error TS2307: Cannot find module 'src/scope/scope'.

1 import Scope from 'src/scope/scope';

@harttle harttle added the bug label Feb 25, 2019
harttle pushed a commit that referenced this issue Feb 25, 2019
## [7.3.1](v7.3.0...v7.3.1) (2019-02-25)

### Bug Fixes

* **#108:** remove absolute path in emitted d.ts ([53a835a](53a835a)), closes [#108](#108)
@harttle harttle closed this as completed Feb 26, 2019
@scottge
Copy link
Author

scottge commented Feb 26, 2019

Thank you!

Out of my curiosity: I'm amazed by how fast you are improving this library!!! 👍 Are you working on this project using your spare time?

@harttle
Copy link
Owner

harttle commented Feb 27, 2019

Almost weekends and nights, while playing WOT at the same time :)

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

No branches or pull requests

2 participants