dominic-preap / excel4node Goto Github PK
View Code? Open in Web Editor NEWexcel4node typings
License: MIT License
excel4node typings
License: MIT License
When I was compiling using TSC with the following configs, I see this errors.
{
"compilerOptions": {
"sourceMap": true,
"outDir": "dist",
"strict": true,
"lib": ["esnext"],
"esModuleInterop": true,
"module": "commonjs",
"target": "ES6",
"typeRoots": ["./node_modules/@types", "./src/typings"]
}
}
src/typings/excel4node/index.d.ts(11,5): error TS7010: 'addDataValidation', which lacks return-type annotation, implicitly has an 'any' return type.
src/typings/excel4node/index.d.ts(16,5): error TS7010: 'addConditionalFormattingRule', which lacks return-type annotation, implicitly has an 'any' return type.
src/typings/excel4node/index.d.ts(46,5): error TS7010: 'addImage', which lacks return-type annotation, implicitly has an 'any' return type.
src/typings/excel4node/index.d.ts(96,19): error TS7010: 'getExcelAlpha', which lacks return-type annotation, implicitly has an 'any' return type.
src/typings/excel4node/index.d.ts(109,19): error TS7010: 'getExcelTS', which lacks return-type annotation, implicitly has an 'any' return type.
I'm trying to edit page after creating it outside a function. However, in order to edit it, I need to first find the worksheet, I looked online but couldn't find any solution, like getWorksheet() as exceljs has. I was wondering, is there a way I can edit an excel?
for example->
creating pages
pages.map((page)=>{
var sheet = workbook.addWorksheet(sheetName)
sheet.cell(1, 1).string("Insurer");
})
Now I want to go to eachpage after creating it. Is there anyway I can do it?
First of all, thank you for creating these types!
Currently the repository doesn't have a license, and by default that makes the types not usable in other projects, according to GitHub docs:
However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work.
Adding one would help everyone, and maybe it can help with advisr-io/excel4node#64, which is a request to add types to the main repo (continued from the original issue where you commented before, in the now archived repo natergj/excel4node#188) ๐ค
Thanks!
Hey, how about to add this to types repository?
Or at least give a readme of how to use this ?
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.