Comments (6)
That's strange, so you're saying the import doesn't work ? Are you using the latest version ?
from docxtemplater.
No, the import does not work on my end. I am using "docxtemplater": "^3.42.7",
and my node version is v.16.5
. The tsc complier is complaining about Cannot find module 'docxtemplater/expressions' or its corresponding type declarations.
from docxtemplater.
Did you run :
npm install angular-expressions
?
I have tried to reproduce your issue, but it seemed to work without a problem on typescript.
You can git clone the following repository and see for yourself, the docxtemplater/expresssions packages works fine for me :
git clone https://github.com/edi9999/typescript-docxtemplater.git
I'm using tsc --version = Version 4.9.5, maybe you're using an older version ??
from docxtemplater.
Did you run :
npm install angular-expressions
?I have tried to reproduce your issue, but it seemed to work without a problem on typescript.
You can git clone the following repository and see for yourself, the docxtemplater/expresssions packages works fine for me :
git clone https://github.com/edi9999/typescript-docxtemplater.git
I'm using tsc --version = Version 4.9.5, maybe you're using an older version ??
Yea, I was using an older version(< 4.9.5) of tsc
. Thanks!
from docxtemplater.
Which tsc were you using ? I'd like to, if possible make docxtemplater compatible also with older versions of typescript.
from docxtemplater.
Which tsc were you using ? I'd like to, if possible make docxtemplater compatible also with older versions of typescript.
I was using tsc
version 3.2.1
.
from docxtemplater.
Related Issues (20)
- Make document readonly or password protected? HOT 4
- custom filters in segment not resolved with renderAsync HOT 1
- Open and edit a created document via webdav (Windows) creates additional rows in a table HOT 4
- The parser parses '()' incorrectly in case of using custom delimiters like this '$(', ')' HOT 6
- dropUnsupportedFileTypesModules called twice by constructor HOT 3
- Cannot resolve @Name placeholder HOT 2
- Chart Module: Unexpected Behavior with Null Value in Data HOT 3
- Differentiate between conditions and loops when getting tags HOT 1
- Conditional assignment doesn't work as expected HOT 1
- Page break propogates to all elements inside div HOT 5
- Numbering for conditional text HOT 3
- When I write a tag in complex content, it doesn't work HOT 4
- HTMLModule Dependencies causing errors HOT 1
- paragraphLoop doesn't seem to work HOT 2
- ChartModule + ErrorLocationModule HOT 2
- Bun.sh HOT 1
- Trying to setup angular parser, but is failing with compilation error. HOT 8
- getSize 返回一个promsie ,word预览正常,但是导出word图片丢失 HOT 2
- Compile (tsx) issue with TxtTemplater HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docxtemplater.