Jump to content
Search Community

TOB

Members
  • Posts

    5
  • Joined

  • Last visited

TOB's Achievements

0

Reputation

  1. I'm looking into that option now. I have a specific version of typescript I use at work as part of a larger dev team; but will see if I can use a later version of typescript (e.g. something like npm install --save-dev typescript@latest) for this prototype. Is there a recommended version of typescript in your opinion? or is latest best?
  2. No joy did the pipe overloads (between lines 183 and 245) and did the unitize method on line 400. Same compile errors.
  3. Yes - thats the one, with the 'G' template item. edit: That 209 was at the top of the stack, but if I scroll down more in the build error list I do see the others.
  4. Thanks - that did the trick. I had to add an empty "files" : [ ] to my tsconfig as well (to get around an error "./gsap-utils.d.ts (209,10): A rest parameter must be of an array type."... I suspect that perhaps my typescript version is not recent enough [~2.5.3 atm]). This empty config entry is throwing my lint'r off its game ? BUT app does compile and I can run the animations easily. Thanks again for the assist - great forum support (which makes all the difference); and gsap is fall-down easy to use.
  5. ive added both gsap (npm install --save gsap) and @types/greensock (npm install --save-dev @types/greensock) to my prototype app I am using to learn more about greensock. npm install completes successfully, however when building the app, I get a "Duplicate identifier 'TimelineMax'" error. I've confirmed that there are multiple definitions of this and other gsap classes in both these lib's (found in gsap-core.d.ts for gsap and index.d.ts for @types/greensock). I did find the install instructions (here: https://greensock.com/docs/v3/Installation) which references 'typescript errors" re: locations of types being defined - - - but that didn't work. Was wondering if there is something else I am missing? Thx in advance for any insights
×
×
  • Create New...