Closed darrenwng closed 7 years ago
Can you give a bit more context for your question? Does this have something to do with using Typescript? If so, I don't use it myself, so I have no context to understand your question.
Yup. Am trying to get the package to work together with typescript. Compiler currently throws an error that the JobCollection cannot be found. Need to include the module declaration in the typings file. Is there any intention to get this package to work with typescript?
Given that I don't use typescript (and don't foresee myself using it anytime soon) I'm probably not the person to do that work. I'd be happy to consider a PR if the changes required are straightforward, well documented and include suitable tests so that the continued compatibility can be preserved via CI.
Sure. Let me see if I can come up with a solution for this.
import { JobCollection, Job } from 'meteor/vsivsi:job-collection';
In case you need a workaround
Any example of the syntax to be included into the typings.d.ts file?